Commit Graph
24525 Commits
Author SHA1 Message Date
Lukas Zech fa309324ef Add interface for AuthenticateOptions 2016-12-06 18:48:37 +01:00
Daniel Perez AlvarezandAndy adaad654ab Remove types for normalizr (#13129) 2016-12-06 07:05:39 -08:00
AndyandGitHub 6e7f954f81 Add missing line to header (#13133) 2016-12-06 06:50:03 -08:00
Paul van BrenkandGitHub 31d40c8672 Merge pull request #12658 from patsissons/jquery-deparam
Adding jquery-deparam typings
2016-12-05 14:53:41 -08:00
Paul van BrenkandGitHub f0b80f7a84 Merge pull request #12411 from epabst/dedup-react-2
Dedup createElement overloads in react/index.d.ts.
2016-12-05 14:49:53 -08:00
Paul van BrenkandGitHub f40aa013f0 Merge pull request #13010 from ivasilov/patch-2
Export Dropzone as default
2016-12-05 14:49:07 -08:00
Paul van BrenkandGitHub be459871a3 Merge pull request #12451 from mgroenhoff/types-2.0-supports-color
Add supports-color typings
2016-12-05 14:48:19 -08:00
AndyandGitHub b293019218 Use "dependencies" and not "devDependencies" (#13113) 2016-12-05 13:17:44 -08:00
Joe HermanandAndy 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
Nathan Shively-SandersandGitHub 346d34d321 Merge pull request #12850 from evanshortiss/types-2.0
updates for pino module
2016-12-03 08:08:05 -08:00
Tom WanzekandAndy 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
Jeongho NamandAndy 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
Horiuchi_HandGitHub 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 HegazyandGitHub 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
Connor PeetandMohamed Hegazy 695e719764 Add typings for croppie@2.4.0 (#13046) 2016-12-01 10:20:42 -08:00
Ivan VasilovandGitHub 92e3b5e728 Update react-dropzone-tests.tsx 2016-12-01 13:32:32 +01:00
Evan Shortiss dc4d16c4d6 Merge branch 'types-2.0' of github.com:evanshortiss/DefinitelyTyped; branch 'types-2.0' of github.com:DefinitelyTyped/DefinitelyTyped into types-2.0 2016-11-30 21:59:06 -06:00
Evan Shortiss 634854cb81 revert to commonjs import 2016-11-30 21:57:17 -06:00
Paul van BrenkandGitHub 5c2fa5ca0e Merge pull request #13029 from DefinitelyTyped/mergemaster20161130
Mergemaster20161130
2016-11-30 17:41:39 -08:00
Paul van Brenk 77cbe9a022 fix break 2016-11-30 17:39:18 -08:00
Paul van BrenkandGitHub 93ec3011ce Merge pull request #13012 from MrGekko/types-2.0
Fix PreloadJs installplugin() type
2016-11-30 17:31:26 -08:00
Paul van BrenkandGitHub bb553001d8 Merge pull request #13009 from magny/improve-promise-middleware
Fix for "Cannot find namespace 'Redux'" in redux-promise-middleware
2016-11-30 17:28:21 -08:00
Paul van BrenkandGitHub 998133b617 Merge pull request #13008 from plantain-00/markdown-it-2
improve types of markdown-it
2016-11-30 17:27:49 -08:00
Paul van Brenk 2a0599c809 Merge branch 'types-2.0' into mergemaster20161130 2016-11-30 17:18:04 -08:00
Paul van BrenkandGitHub 8dbd683aa3 Merge pull request #13030 from DefinitelyTyped/removeShopifyPrime
Remove shopify Prime simplified #12866
2016-11-30 17:16:22 -08:00
Paul van Brenk 2f152b4a86 Clean up header 2016-11-30 17:13:04 -08:00
Paul van Brenk 04ad2d4e63 Fix BOM 2016-11-30 17:09:25 -08:00
Paul van Brenk 915c575489 Remove shopify Prime simplified #12866 2016-11-30 17:00:09 -08:00
Paul van Brenk f7289bbf24 Merge branch 'master' into mergemaster20161130 2016-11-30 16:53:46 -08:00
Paul van BrenkandGitHub 703bedf9b7 Merge pull request #12610 from DevExpress/master
Update DevExtreme and DevExpress ASP.NET to 16.1.8
2016-11-30 16:45:33 -08:00
Paul van BrenkandGitHub cfb9cf227e Merge pull request #12597 from ts-webpack/types/enhanced-resolve
Types/enhanced-resolve
2016-11-30 16:36:37 -08:00
Paul van BrenkandGitHub c807974ffb Merge pull request #12577 from ts-webpack/types/source-list-map
Types/source list map
2016-11-30 16:35:44 -08:00
Paul van BrenkandGitHub 10883d083d Merge pull request #12709 from heycalmdown/cls
Typings for continuation-local-storage
2016-11-30 16:32:44 -08:00
Paul van BrenkandGitHub c1c778b5d4 Merge pull request #12848 from tarruda/levelup-support-custom-encodings
levelup: Add declarations for custom encodings.
2016-11-30 16:31:25 -08:00
Paul van BrenkandGitHub 60571963d5 Merge pull request #12846 from maghis/verror-update
Verror update
2016-11-30 16:27:33 -08:00
Paul van BrenkandGitHub e2d420da95 Merge pull request #12816 from mayerwin/patch-1
Update react-select.d.ts
2016-11-30 16:26:44 -08:00
Paul van BrenkandGitHub af3a37b102 Merge pull request #12772 from titan/types-2.0
Add typings for nanomsg
2016-11-30 16:22:59 -08:00
Paul van BrenkandGitHub 8936427ac8 Merge pull request #12598 from cvle/types-2.0-warning
Add @types/warning
2016-11-30 16:22:26 -08:00
Paul van BrenkandGitHub aa29a54030 Merge pull request #12567 from shiftkey/add-codemirror-regression
[codemirror] add a test case for renderLine
2016-11-30 16:13:44 -08:00
Paul van BrenkandGitHub a41d0d45a0 Merge pull request #12568 from itroncloudservices/types-2.0
Add i18next.options to interface against types-2.0
2016-11-30 16:13:21 -08:00
Paul van BrenkandGitHub 818c377c0c Merge pull request #12541 from DefinitelyTyped/jstz
Improve jstimezonedetect types
2016-11-30 16:12:53 -08:00
Paul van BrenkandGitHub a783e03bb8 Merge pull request #12527 from rockmacaca/types-2.0
Updated react-native navigation typings
2016-11-30 16:12:36 -08:00
Paul van BrenkandGitHub 2443c712a1 Merge pull request #12550 from ewgenius/types-2.0
material-ui BottomNavigation typings for types-2.0
2016-11-30 16:03:30 -08:00
Paul van BrenkandGitHub f0640142d8 Merge pull request #12505 from Strate/orientjs_migration_manager_class_fix
orientjs: fix migration manager class
2016-11-30 15:59:36 -08:00
Paul van BrenkandGitHub fee23eab26 Merge pull request #12511 from johngeorgewright/feature/gpt
Google Publisher Tag Definitions
2016-11-30 15:58:01 -08:00
Paul van BrenkandGitHub 262e90cae4 Merge pull request #12457 from cnishina/selenium-webdriver
chore(selenium-webdriver): update webdriver wait method
2016-11-30 15:54:28 -08:00
Paul van Brenk ad5e666880 Merge branch 'types-2.0' of https://github.com/DefinitelyTyped/DefinitelyTyped into types-2.0 2016-11-30 15:30:53 -08:00
Paul van Brenk 3449a9ec4c Merge branch 'CNBoland-types-2.0_jquery.datatables_1.10.8' into types-2.0 2016-11-30 15:30:39 -08:00