Commit Graph
4780 Commits
Author SHA1 Message Date
yortus 6a320ef211 EventEmitter can be new()d 2014-03-31 11:10:37 +08:00
Troy Gerwien c2b67de6aa Fixed assert, added comments, rechecked all
- Added comments explaining the rationale/method of exposing into both
'type' and 'member' declaration spaces (see TLR 2.3) with example
- Made the pattern consistent in both definition files
- Fixed "assert" by adding 'export function Assert...'
- Triple-checked with DT tests and additional tests
2014-03-30 21:56:50 +08:00
Ragesh Krishna 1f81d75c3f Fixes #1636: Add get(setting) definition on express.Application 2014-03-30 17:35:10 +05:30
Basarat Ali Syed 2c52e529f9 Merge pull request #1938 from gyohk/master
Fixed a problem that causes a conflict when used tweenjs and preloadjs a...
2014-03-30 20:07:25 +11:00
satoru kimura f5a20d6c3e Fixed a problem that causes a conflict when used tweenjs and preloadjs at the same time. 2014-03-30 13:47:28 +09:00
Troy Gerwien 6f472b8f09 WIP: all passing (bar assert) but needs more...
Need to remove superfluous typings - eg NodeJs.QueryString.escape should
not be valid
2014-03-30 10:05:57 +08:00
Troy Gerwien 368266b684 var-interface-module pattern now consistent
Everything (in both node and express) now follows the pattern:
```
declare module "external-name" {
import _ = InternalName.InnerName;
export = _;
}
declare module InternalName {
export var InnerName: InnerName;
export interface InnerName {
// functions and vars in here
}
export module InnerName {
// Must be non-instantiated - so only interfaces and modules in here
}
}

```
2014-03-29 21:21:41 +08:00
John Reilly 4891ed9bd1 Merge pull request #1927 from panuhorsmalahti/def/q
Update Q.d.ts
2014-03-29 11:38:43 +00:00
Panu Horsmalahti da3fcf9a85 Update Q-tests.ts
Add tests for Q.nfapply and Q.nfcall.
2014-03-29 12:45:09 +02:00
Philip Bulley c625577cb7 prepend() allows ZeptoCollection arg 2014-03-28 17:29:14 +00:00
Philip Bulley 0c88531646 after() allows ZeptoCollection arg 2014-03-28 17:24:42 +00:00
Philip Bulley bf8e60395f append() / before() support for ZeptoCollection arg
zepto.d.ts defines `append()` and `before()` methods for string, HTMLElement and HTMLElement[], but Zepto also supports ZeptoCollection. Added method overloads supporting ZeptoCollection.
2014-03-28 17:06:58 +00:00
MaceWindu 3f1c041150 Fix typo 2014-03-28 17:32:16 +01:00
Troy Gerwien a7829a1fd9 referenceable types throughout node and express
All node modules and classes can be referenced by type name. External
module support remains unchanged, but now static type information is
available for all node modules and types without needing to go through
the external module definitions.

Similar for express.
2014-03-28 22:32:20 +08:00
Troy Gerwien 4127970458 Merge branch 'master' of https://github.com/yortus/DefinitelyTyped 2014-03-28 22:18:18 +08:00
enternet 7c77089f10 Projection.parallels()
Someone forgot to declare this very useful method.
2014-03-28 11:05:43 +03:00
Luigi Trabacchin 99c6b472e7 defined the event type
this was not compiling because the event type was not defined
2014-03-27 22:30:08 +01:00
Luigi Trabacchin 4fbbc8c6e3 added a test for Element.transform()
Test if svgjs.Element.transform() correctly return an svgjs.Element.Transform
2014-03-27 21:36:45 +01:00
Luigi Trabacchin 8823d0b6dc added callbacks
added callbacks methods for Element
2014-03-27 13:51:33 +01:00
Panu Horsmalahti 1503788c8d Update Q.d.ts
Add nfapply defintion.

See API reference here: https://github.com/kriskowal/q/wiki/API-Reference
2014-03-27 13:09:09 +02:00
Luigi Trabacchin 5d66022fb8 Added support for svgjs.draggable 2014-03-27 11:40:01 +01:00
LiFeleSs f53cbfcb02 Element.transform() now return a transform
added the overload for Element.transform() without arguments
Fix for #1921
2014-03-27 11:29:05 +01:00
maanasa b47ce62205 Update typeahead-tests.ts
Adding tests for including options
2014-03-27 13:25:37 +08:00
maanasa 63199e8ecc Update typeahead-tests.ts 2014-03-27 13:25:36 +08:00
maanasa 08e8430ce5 Update typeahead.d.ts
added support for call typeahead(options, dataset) where options include hint, highlight and minLength all of which are optional.
2014-03-27 13:25:36 +08:00
MaceWindu caafcbc990 a bit more definitions for jsPlumb. Still, this file miss a lot of definitions from jsPlumb 2014-03-26 21:44:54 +01:00
MaceWindu d92f1822bd fix tests, add additional overrides to deferred methods 2014-03-26 21:03:19 +01:00
John Purcell f5b19e8dd7 Return http.Server from express.listen() 2014-03-26 15:07:49 -04:00
John Purcell cb01abe1b2 Return correct type from .listen() and .close(), expose .address() on http.Server 2014-03-26 14:54:22 -04:00
MaceWindu 9f9d58db21 Fix callback parameters type for $.Deffered methods 2014-03-26 17:20:55 +01:00
Bart van der Schoor 2f592be9e6 Merge pull request #1905 from maanasa/master
Update typeahead.d.ts
2014-03-26 14:09:03 +01:00
maanasa ec0735af31 Update typeahead-tests.ts
Adding tests for including options
2014-03-26 17:45:30 +05:30
maanasa 64bd6c8132 Update typeahead-tests.ts 2014-03-26 17:04:20 +05:30
troy_paypac 31094e528b Merge branch 'master' of https://github.com/paypac/DefinitelyTyped 2014-03-26 15:05:30 +08:00
troy_paypac 1fd18add08 internal module defns for node and express 2014-03-26 15:04:06 +08:00
troy_paypac c69db70217 internal module defns for node and express 2014-03-26 14:58:30 +08:00
Basarat Ali Syed 9863c4af81 Merge pull request #1918 from borisyankov/def/momentjs
momentjs : fix external module definition + added tests
2014-03-26 16:21:55 +11:00
Basarat Syed 22e4f4f542 momentjs : fix external module definition + added tests 2014-03-26 16:20:28 +11:00
Bart van der Schoor 106ef57f9d Merge pull request #1917 from LiFeleSs/master
moved use() method from Doc to Parent interface
2014-03-25 22:50:43 +01:00
LiFeleSs 58509774b4 use method moved to Parent interface
moved the use method from doc interface to Parent interface so it can be used on all svgjs.element
2014-03-25 21:46:43 +01:00
David Rogers 2e2fdad634 Add support for optional event data. 2014-03-25 11:41:14 -07:00
Bart van der Schoor d4bca6a1f8 Merge pull request #1879 from jpmoodlerooms/master
Expose agent on supertest and cookie methods on superagent
2014-03-25 17:00:54 +01:00
Bart van der Schoor 5308bcd60e Merge pull request #1887 from panopticoncentral/master
Add missing methods to create npm publish tasks, added definitions for nomnom
2014-03-25 16:52:22 +01:00
Bart van der Schoor 508b0d76f3 Merge pull request #1903 from drewnoakes/smoothie
Update smoothe to v1.22
2014-03-25 16:50:20 +01:00
Panu Horsmalahti 2ec79b766d Update angular-protractor-tests.ts
Fix test to correspond with the new, correct type for getLocationAbsUrl.
2014-03-25 15:11:14 +02:00
Panu Horsmalahti bc0028b45a Update angular-protractor.d.ts
Change string to the correct type, webdriver.promise.Promise.
2014-03-25 14:03:06 +02:00
hansrwindhoff b16db4154d selectItem 2014-03-24 14:29:01 -06:00
John Reilly 4cb28c018b Merge pull request #1910 from johnnyreilly/master
Q: Some JSDoc goodness
2014-03-24 18:38:58 +00:00
Igorbek 6b598914de Merge pull request #1909 from jvilk/filesystem-fixes
filesystem: `root` is a DirectoryEntry.
2014-03-24 10:54:45 -07:00
John Reilly 40e8f2f181 Q: Some JSDoc goodness
Created based on https://github.com/kriskowal/q/wiki/API-Reference
2014-03-24 16:55:35 +00:00