Commit Graph
30224 Commits
Author SHA1 Message Date
Paul van Brenk f40aa013f0 Merge pull request #13010 from ivasilov/patch-2
Export Dropzone as default
2016-12-05 14:49:07 -08:00
Paul van Brenk be459871a3 Merge pull request #12451 from mgroenhoff/types-2.0-supports-color
Add supports-color typings
2016-12-05 14:48:19 -08:00
Adam Cmiel f328c7c62d [FIX] test 2016-12-05 13:31:49 -08:00
Andy b293019218 Use "dependencies" and not "devDependencies" (#13113) 2016-12-05 13:17:44 -08:00
Karol Janyst bddf14ed27 Add definitions for redux-localstorage and main enhancers (#12580)
* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer
2016-12-05 11:22:48 -08:00
Andy Hanson 5c4462fc36 Remove unnecessary import 2016-12-05 10:49:08 -08:00
Tom Wanzek fc95720018 Merge remote-tracking branch 'DefinitelyTyped/master' 2016-12-05 10:35:00 -05:00
Martin Helmich 5c2bd14949 Redefine TerminalModes index type property to number|undefined 2016-12-05 14:49:36 +01:00
Christian Rackerseder 142daba378 Fixed Travis build 2016-12-05 12:03:53 +01:00
Christopher Cortes 76c47b02f0 Expand $compileProvider JSDoc
Urls added to JSDoc of Angular 1.5.9 new methods .
2016-12-05 09:23:22 +01:00
Christopher Cortes 82984a5325 Add JSDoc to Angular 1.59 new methods of $compileProvider
JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.
2016-12-05 09:18:39 +01:00
Joe Herman fb6858d70a cassandra-driver: keyspace should be optional. event-stream: Stream should be extended. (#12345)
* cassandra-driver: make ClientOptions.keyspace optional.

* event-stream: Update returned types to MapStreams.
2016-12-04 13:23:08 -08:00
Juan Carlos Picado 8825deefbc Fixing semver header 2016-12-04 21:37:20 +01:00
Juan Carlos Picado 8070c5a1fc Fixing semver header 2016-12-04 21:26:41 +01:00
Juan Carlos Picado fbb5f29d19 Fix check style 2016-12-04 21:15:20 +01:00
Juan Carlos Picado 7808c38968 Fix check style 2016-12-04 21:10:22 +01:00
Juan Carlos Picado 42ffcea96b Fix test methods 2016-12-04 21:03:41 +01:00
Juan Carlos Picado 05272150f0 fix test 2016-12-04 19:51:04 +01:00
Juan Carlos Picado fa5e281768 Removed blank line 2016-12-04 19:08:59 +01:00
Juan Carlos Picado 125fee9906 Fix common issues, added doc 2016-12-04 18:45:49 +01:00
Christopher Cortes b391281610 Add new Angular 1.5.9 methods to $compileProvider
Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()
2016-12-04 17:46:15 +01:00
John Reilly 87b80408d2 Merge pull request #13086 from schickling/patch-1
Added playsInline property as introduced in React 15.3.2
2016-12-04 16:39:38 +00:00
Christopher Cortes 348e6c392b Merge pull request #6 from DefinitelyTyped/master
Pull latest changes from head
2016-12-04 17:37:18 +01:00
Juan Carlos Picado 0419f39e85 Add memoizee definitions 2016-12-04 17:19:52 +01:00
Matthieu Maitre c09535b9f6 Fix travis build failures 2016-12-04 02:32:10 -08:00
Matthieu Maitre e34c418711 Port PR https://github.com/agileek/typings-vis/pull/12 2016-12-04 02:27:38 -08:00
Matthieu Maitre 269c18303a Fix travis build failures 2016-12-04 01:59:24 -08:00
Matthieu Maitre 7e0f87e1d0 Port from https://github.com/agileek/typings-vis/blob/master/vs.d.ts 2016-12-04 01:17:06 -08:00
danzel 9de51dd216 Fix based on feedback 2016-12-04 17:10:15 +13:00
Johannes Schickling e8fb543de7 Added playsInline property as introduced in React 15.3.2 2016-12-03 21:15:37 +01:00
Nathan Shively-Sanders 346d34d321 Merge pull request #12850 from evanshortiss/types-2.0
updates for pino module
2016-12-03 08:08:05 -08:00
e-cloud f9387518fa fix: improve missing typings 2016-12-03 16:01:09 +08:00
Tom Wanzek c633e6b9b7 [types-2.0] D3 strictNullChecks Batch 1 (#12858)
* [Enhancements]: strictNullCheck and filtering:
* (d3-selection) [Enhancement]: Validated, updated and activated to enforece `strictNullChecks`. `BaseType` updated to include `null`. As a result of this approach, the developer must explicitly include `| null`, if a Selection or a (sub-)selecting method may contain `null` element(s). By the same token, the `node()` method, will return `null` only, if the Selection to which it was applied may contain `null` element(s).
* (d3-selection) [Enhancement]: Added additional signature to `filter(...)` method such that a generic can be used to control the type of the filtered elements, should they be a subset of the unfiltered types.
* (d3-selection) [Enhancement]: Added `Document` to `BaseType` union type.
* (d3-transition) [Enhancement]: Validated, updated and activated to enforece `strictNullChecks`. `BaseType` updated to include `null`. As a result of this approach, the developer must explicitly include `| null`, if a Transition or a (sub-)selecting method may contain `null` element(s). By the same token, the `node()` method, will return `null` only, if the Transition to which it was applied may contain `null` element(s).
* (d3-transition) [Enhancement]: Added additional signature to `filter(...)` method such that a generic can be used to control the type of the filtered elements, should they be a subset of the unfiltered types.
* (d3-selection-multi) [Enhancement]: updated `ValueMap` type use extension of selection/transition `BaseType` as defined above consistent  with `strictNullChecks`.
* (d3-selection-multi) [Test Fix]: Updated tests where a Value Function is used to return a ValueMap for each selected item, as the ValueMap must be defined as a mapping object idiomatically, the test was changed to never return `null` as a result of the value function. Instead it returns `{}`, when no updates are required for the currently iterated selected element.
* In general, for all three above modules: Tests have been updated to be more explicit about type-checking inside callback functions. Also, where shortcuts where taken in the shape tests to simply test interface/signature contracts, without necessary variable initialization, mock initializations have been included. This is necessitated by enabling `strictNullChecks`.

* d3-force
* (d3-force) [Enhancement]: Validated, updated  and activated to allow for `strictNullChecks`. When using `force(name)` getter on `Simulation`, it is now up to the developer to use the right generic narrowing to exclude `undefined` as a return type, if it is known with certainty that the retrieved force has prevsiously been defined. By default, it may be `undefined` as is the standard API specification.
* (d3-force) [Fix]: The initialize method has been added explicitly to the predefined forces `ForceCollide`, `ForceCenter`, `ForceLink`, `ForceManyBody`, `ForceX` and `ForceY`. This conforms to the implementation of these forces, where  it is implemented. Inhertitance from the generic `Force` inaccurately let it appear optional.
* (d3-force) [Chore] Tests added/updated and some linting.

* d3-force ForceLink JSDoc update:
* (d3-force) [Chore] Update JSDoc comment for `id(...)` accessor on `ForceLink`. This is related to the corresponding wording change in the API documentation in follow-up to the changes made to d3-force issue 72.

* d3-zoom strictNullChecks
* (d3-zoom) [Enhancement] Validated,  updated and activated for use with `strictNullChecks`. Tests updated.

* d3-brush strictNullChecks
* (d3-brush) [Enhancement] Validate, update and activate for use with `strictNullChecks`. Tests updated.

* d3-drag strictNullChecks
* (d3-drag) [Enhancement]: Validate, update and activate for use with strictNullChecks.

* (d3-zoom) to v1.1.0
* (d3-zoom) [Feature]: Adds suppport for `zoom.interpolate(...)`. Tests added
* (d3-zoom) [Chore]: Updated JSDoc comment for `zoomTransform(...)`

* (d3-transition) JSDoc comment
* (d3-transition) [Chore] Updated JSDoc comment on `selection.transition(...)`
* (d3-transition) [Chore] bumped version to 1.0.3 to indicate up to which module version the definitions were reviewed

* Bump patch versions of underlying modules
* (d3-brush) (d3-drag) (d3-force) [Chore]: To indicate up to which patch version the files definitions were validated, patch version number has been bumped

* TS Lint and Minor Changes:
* (d3-brush) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-drag) [Chore]: Added tslint.json to disable "unified-signatures" rule. Linted tests.
* (d3-force) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-force) [Chore]: Completed linting.
* (d3-selection) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-selection) [Fix]: Changed `CustomEventParameters` and `NamespaceLocalObject` and `NamespaceMap` to be interfaces as opposed to types.
* (d3-selection) [Chore]: Completed linting of defintion and tests,
* (d3-selection-multi) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-selection-multi) [Chore]: Completed linting of definition and tests. Used `// tslint:disable-next-line:interface-over-type-literal` for type alias ValueMap. Using type is better here for IDE hints, as the hint replaces alias with its content. This saves separate "peeking" as would be the case for interface. Also, there is no need to extend the type. For the entire test file `// tslint:disable:object-literal-shorthand` was applied, as the object literals actually need to use functions and not arrow function "short hand" ("this" context will be bound rather than lexically scoped)
* (d3-selection-multi) [Chore]: Minor JSDoc comment additions for completeness.
* (d3-transition) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-transition) [Chore]: Minor JSDoc comment additions for completeness.
* (d3-transition) [Chore]: Completed linting.
* (d3-zoom) [Chore]: Added tslint.json to disable "unified-signatures" rule
* (d3-zoom) [Chore]: Completed linting.

* strictNullChecks
* (d3-selection) [Fix]: Re-inserted `| null` into return type of `node()`. Fixed all tests, for mock-purposes using `!` post-fix where necessary. Note, this includes using post-fix on  document.querySelector(...) which now also includes possible `null` return type.
* (d3-transition) [Fix]: Re-inserted `| null` into return type of `node()`. Fixed all tests, for mock-purposes using `!` post-fix where necessary. Note, this includes using post-fix on  document.querySelector(...) which now also includes possible `null` return type.
* (d3-force) [Fix]: Moved return type of `force('forcename')` getter to include `| undefined` unconditionally. This is a change from allowing the casting using the generic to exclude `undefined`. This change was made for consistency with the treatment of e.g. `node()` (see above)
* (d3-drag) [Chore]: Adjust test to mock-assert non-null using `!` when using `node()`

* d3-zoom fix test
* (d3-zoom) [Chore] Needed to assert non-null node() return-type for testing purposes only.

* Update header comments to new convention

* Removed "v" from version header.
2016-12-02 19:28:01 -08:00
Adam Cmiel 2cbd5e06ee [FIX] tests 2016-12-02 18:16:15 -08:00
Adam Cmiel b4f72c033b [REPO] add tests attribution 2016-12-02 15:18:47 -08:00
Adam Cmiel 33c62e0f7f [FIX] rename tests file 2016-12-02 15:17:43 -08:00
Adam Cmiel 0102464118 add tests 2016-12-02 15:16:34 -08:00
David Deutsch dcbb2b01e7 Merge branch 'lodash-legacy' into types-2.0 2016-12-02 15:23:51 -05:00
David Deutsch 0cfe2d6234 Moving lodash-3.10 to legacy directory 2016-12-02 15:11:09 -05:00
Jeongho Nam 5010ca8d23 TypeScript-STL v1.2.4 (#12974)
* TypeScript-STL v1.2.4

IComparable has changed.

* TypeScript v1.2.4

IComparable has changed.
2016-12-02 11:24:42 -08:00
Max Schaefer 2f6ac1cf94 Improve model of Node.js events module.
The module directly exports the `EventEmitter` class, so `typeof require("events") === 'function'`.

This is modelled in the same way as for modules `assert` and `stream` using an auxiliary `internal` class.
2016-12-02 16:24:01 +00:00
e-cloud f2731469da feat: add typings for watchpack 2016-12-02 15:21:04 +08:00
Horiuchi_H a84e3f1af0 Merge pull request #13056 from simonxca/patch-mongoose
Patch mongoose
2016-12-02 15:17:03 +09:00
Horiuchi_H 822f53a17b Merge pull request #13055 from simonxca/patch-mongoose-types-2.0
mongoose updates types-2.0
2016-12-02 15:16:46 +09:00
Mohamed Hegazy 035e3a2090 Fix lodash sub modules 2 (#13051)
* Remove modules.d.ts to avoid making lodash a global

* Add separate modules for lodash submodules

* Keep only major.minor for versions
2016-12-01 22:08:25 -08:00
Simon 8c1639aeec add error callback for schema.post() fixes #12943 2016-12-01 21:35:54 -05:00
Simon 2fc5a264d6 update to 4.7.0, add querycursor.map() and schema.loadClass() 2016-12-01 21:34:38 -05:00
Simon 52f93374af add error callback for schema.post() 2016-12-01 21:31:06 -05:00
Simon f9c3dc99f2 update to 4.7.0, add querycursor.map() and schema.loadClass() 2016-12-01 21:31:06 -05:00
danzel 39db0554e6 Add missing L.ImageOverlay methods and missing L.Draggable class 2016-12-02 09:24:36 +13:00