Commit Graph
6110 Commits
Author SHA1 Message Date
vvakame 2aabba9905 Improvement node.d.ts typings 2014-04-01 00:04:35 +09:00
Bart van der Schoor 1fccd80d05 Merge pull request #1945 from yortus/add-hash-to-NodeJs.Url.Url
add hash to NodeJs.Url.Url
2014-03-31 16:28:14 +02:00
Asger Feldthaus f75091e08e d3.d.ts: no-return -> void return types 2014-03-31 16:21:20 +02:00
Troy Gerwien cbd13655e5 add hash to NodeJs.Url.Url 2014-03-31 22:20:09 +08:00
Asger Feldthaus a1c23bddc3 d3.d.ts: fixed raw signatures for conic projections 2014-03-31 16:07:42 +02:00
John Reilly d57980e1a1 Merge pull request #1944 from csrakowski/master
Fixed small typo in jQuery definitions
2014-03-31 14:57:29 +01:00
Christiaan Rakowski d89a73caaf misplace quote 2014-03-31 15:35:47 +02:00
Asger Feldthaus 0e143ef3e7 various bugfixes in d3.d.ts 2014-03-31 14:26:26 +02:00
Basarat Ali Syed 0bfcda81b4 Merge pull request #1931 from yortus/node-express-referenceable-types
Node/express referenceable types
2014-03-31 20:54:06 +11:00
yortus 4e315942f5 Moved get(string)=>sting to Application 2014-03-31 16:37:41 +08:00
yortus daa12d74b1 Re-added get(string):string to express 2014-03-31 16:04:21 +08:00
sgrebnov 0ec5f624f1 Adds bindings for Apache Cordova 2014-03-31 12:01:42 +04:00
yortus 69bd32f4c1 pure internal modules + external shim
- The top-level modules Express and NodeJs are now 'pure' ie
non-instantiated, due to removal of all vars, functions, and classes
- Where the above change breaks existing typings which access types via
external module references, a shim has been added to make this continue
working unchanged
- A single namespace _ExternalShim_ is added but this can be reused
across all typings that need shimming
2014-03-31 15:18:53 +08:00
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