Commit Graph

22678 Commits

Author SHA1 Message Date
beckend
5fe46ff8c8 [TS 2] React Component/PureComponent constructor super accept rest params (#11612) 2016-10-03 14:47:36 -07:00
beckend
282de8d987 [TS 2] redux-mock-store tweaks (#11614) 2016-10-03 14:44:03 -07:00
Mizunashi Mana
82ed03dce3 Add fast-levenshtein type definition (#11647) 2016-10-03 14:40:19 -07:00
Craig
d3b7ecb1fb chore(selenium-webdriver): export namespaces and enums (#11657)
- enums that return strings were changed to be interfaces
- namespaces were completed to match 2.53 exports
- update methods and tests

closes #11629
2016-10-03 14:39:05 -07:00
Stephan
8bd21d9ddc Improve IDevTools.instrument typing (#11601)
* Improve IDevTools.instrument typing

* persistState return type => GenericStoreEnhancer
2016-10-03 14:24:18 -07:00
Mykhailo Stadnyk
c276719a9d Added missing config options for release v2.0.8 (#11633) 2016-10-03 13:17:46 -07:00
Steve Van Opstal
256e76c933 Types 2.0: Fix incorrectly merged auth0-js module name (#11680)
See #10721
2016-10-03 13:16:27 -07:00
Jan Nicklas
4ac138d35c Update typescript definition for selectize to 0.12.13 (#11570) (#11681) 2016-10-03 13:15:59 -07:00
use-strict
50f20d7af5 Moved webpack-env to separate folder (#11684) 2016-10-03 13:15:45 -07:00
Joshua DeVinney
e5078805b1 Rewriting co-views to work with TypeScript 2 stuff and fixing typing issues. (#11548) 2016-10-03 13:13:32 -07:00
Jan
c9c2a0f8fa Added type definitions for object-refs (#11487) 2016-10-03 13:12:31 -07:00
Uri Shaked
719081a255 Typings for Web bluetooth (#11459)
* Typings for Web Bluetooth

* Rename web-bluetooth.d.ts to index.d.ts
2016-10-03 13:10:19 -07:00
Jon Rimmer
644718439f Add missing files to rx tsconfig (#11437) 2016-10-03 13:09:41 -07:00
Andy
67e69c5bae Provide an index.d.ts for gsap (#11280) 2016-10-03 13:06:42 -07:00
Ron Buckton
0c72d6e10d Make ssh2 and ssh2-streams non-ambient (#11641) 2016-10-03 12:50:33 -07:00
Ron Buckton
cb0e522a9d Break mz into modules, remove unused bluebird reference (#11549)
* Break mz into modules, remove unused bluebird reference

* Fix incorrect import
2016-10-03 12:50:07 -07:00
Ali Taheri Moghaddar
3d8ad8de0b [types-02] Sequelize - Import Promise for target < es6 (#10862)
* import Promise for target < es6

* Fix test Promise type
2016-10-03 11:45:12 -07:00
Richard Musiol
006cb52566 react: Add "mask" and "fillRule" to SVGAttributes (#10829)
* Add "mask" to SVGAttributes

* add "fillRule" to SVGAttributes
2016-10-03 11:33:04 -07:00
Joshua DeVinney
242a5d1d1e oibackoff typing [types-2.0] (#11017)
* oibackoff typing

* Renaming interfaces to drop the I

* Typing with generics and version number

* More cleanup and ensuring things work with strict null checks

* Simplifying oibackoff typing while adding many more generics

* oibackoff: options is optional
2016-10-03 11:32:28 -07:00
Andy
eb7e8b15f9 Convert amplitude-js to use index.d.ts (#11457) 2016-10-03 10:52:43 -07:00
Andy
58aab2ab8b Convert mongoose-seeder to an external module (#11687) 2016-10-03 10:50:09 -07:00
Tom Wanzek
59ff802dab [types-2.0] d3-selection and d3-transition JSDoc comments and fixes (#11497)
* d3-selection
* [Chore]: Completed JSDoc comments
* [Chore]: Removed outdated comments
* [Enhancement]: Added some explicit setter signatures, where using the setter with `null` as a value clears the set attribute, style, property
* [Enhancement]: Added explicit possible `null` return value for `touch(...)` if touch cannot, be found for the fiven identifier

* d3-transition and d3-selection
* **[chore](d3-selection)**: Added JSDoc comments for Selection<...> interface and param priority to style(...)
* **[enhancement](d3-selection)**: Started adding some `| null` for strict null checking.  In ValueFn passed into `attr`, `style`, `text`, `html`. Clarifying the ability to clear the respective property when `null` is returned. Also added `| null` to `node()` return type.
* **[chore](d3-transition)**: Added JSDoc comments.
* **[enhancement/fix](d3-transition)**: Updated signatures for `attrTween(...)` and `styleTween(...)` to align them with curent API doc. Added getter, remover and reduced permissible return type for interpolator to `string`. Added getter signature for `tween(...)`
* **[enhancement](d3-transition)**: Added ``| null` in preparation of strict null checking support to ValueFn return types for `attr`, `style`, and `text`. Same with return type for `node()`.
* [BREAKING](d3-transition): Return type of interpolators returned by tween factories in `attr` and `style` has been reduced to `string` as per API doc. (One test was adjusted accordingly)

* d3-transition
* [BREAKING](d3-transition): Fixed signatures for top-level `transition` method. The generics have been updated, as only the datum type in the returned transition needs to be typed. The rest is pre-determined based on a document root selection.
* **[Fix](d3-transition)**: When using an existing transition as an argument, the transition type is not constrained for the argument.
* Adjusted affected tests.

* d3-transition
* [chore](d3-transition): Updated patch version of reference module to 1.0.2
2016-10-03 07:49:43 -07:00
Tom Wanzek
1e40a4e83c [types-2.0] d3-brush and d3-drag JSDoc comments and fixes (#11503)
* d3-brush
* **[chore](d3-brush)**: Add JSDoc comments.
* **[Enhancement](d3-brush)**: Added some `| null` to union types/return types in preparation of `strictNullChecks`
* **[Fix](d3-brush)**: Added signatures for removing a brush selection using `null`

* d3-brush and d3-drag
* [chore](d3-brush): Minor addition to JSDoc comment
* [chore](d3-drag): Added JSDoc comments.
2016-10-03 07:48:46 -07:00
Tom Wanzek
a97708ea92 [types-2.0] d3-zoom and d3-force JSDoc comments (#11542)
* d3-zoom:
* [chore](d3-zoom): Add JSDoc comments.

* d3-force and d3-zoom
* [chore](d3-force): Added JSDoc comments
* [chore](d3-force): Some additions of `| null` or `|  undefined` in preparation of strictNullChecks.
* [chore](d3-zoom): Renamed function argument from callback to listener for consistency.

* d3-force
* [chore](d3-force): clarifying edits to JSDoc comments.
2016-10-03 07:48:17 -07:00
Tom Wanzek
ccf82851b7 [types-2.0] d3-format d3-timer d3-random JSDoc comments and Enhancement (#11573)
* d3-format
* [chore](d3-format): Finalized JSDoc comments
* [Enhancement](d3-format): Use string literals to refine interface FormatSpecifier for properties with specified encoding of choices. (In accordance with D3 API docs)

* d3-timer
* [Fix](d3-timer): Removed brackets from @param statements for optional parameters. Otherwise they did not appear in IDE (VSCode)

* d3-random
* [chore](d3-random): Complete JSDoc comments.
2016-10-03 07:47:27 -07:00
Anders Riutta
0767903e92 TransfofmCallback -> TransformCallback (#11645) 2016-10-03 21:41:21 +09:00
zjiekai
9f1c7c6a92 setEncoding(encoding: string | null) (#11635)
Encoding can be disabled by calling readable.setEncoding(null).
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding

Typescript v2.* has strictNullChecks which prevents passing null to setEncoding

https://www.typescriptlang.org/docs/release-notes/typescript-2.0.html
2016-10-03 21:25:42 +09:00
Peter Burns
779e53eb3b Add typings for cssbeautify library (#11460)
* Add typings for cssbeautify library

* Don't paper over the fact that cssbeautify isn't ES module compatible.
2016-10-02 17:06:55 -07:00
Vladimir Matveev
07ce2df4f2 Merge pull request #11569 from Jarrku/patch-1
register takes a document(return type of new Model)
2016-09-29 12:23:11 -07:00
Vladimir Matveev
ee351b3654 Merge pull request #11576 from Crevil/mongoose-seeder
Add mongoose-seeder types
2016-09-29 12:09:33 -07:00
Vladimir Matveev
1778c0ce4b Merge pull request #11545 from DefinitelyTyped/ssh2Improved
Adds ssh2-streams and cleans up ssh2
2016-09-28 21:53:34 -07:00
Bjørn
b433d77c00 Add mongoose-seeder types 2016-09-28 18:18:24 +02:00
Simon Van den Broeck
20b7c6f1df register takes a document(return type of new Model)
I kept running into errors with the file, the register function takes a Document, generated from calling new Model. This removes the wrong error.
2016-09-28 16:50:29 +02:00
Vladimir Matveev
9400597ae8 Merge pull request #11525 from goenning/patch-1
[chai] Add eq + equals to Deep assertion
2016-09-27 22:24:46 -07:00
Vladimir Matveev
4272f2d320 Merge pull request #11540 from Mikhus/types-2.0
Font advanced config options added (for v2.0.6+)
2016-09-27 15:22:55 -07:00
Ron Buckton
f5d0b028e0 Additional comments for SSH2Stream methods 2016-09-27 15:13:10 -07:00
Ron Buckton
7cf2c1698f Adds ssh2-streams and cleans up ssh2 2016-09-27 14:59:17 -07:00
Mykhailo Stadnyk
433c5dfa38 Font advanced config options added (for v2.0.6+) 2016-09-27 22:47:03 +03:00
Mohamed Hegazy
8cd81193e0 Consolidate enzyme use of {} in one place as a work around for https://github.com/Microsoft/TypeScript/issues/10759 (#11524) 2016-09-26 16:51:01 -07:00
Guilherme Oenning
6956b1e9af Add eq + equals to Deep assertion
I'm adding this based on https://github.com/chaijs/chai/blob/master/lib/chai/core/assertions.js#L560-L563
2016-09-26 18:38:33 -03:00
Donald Pipowitch
dfba1cf56b correctly use fs-extra, fix readJsonAsync (#11504)
* correctly use fs-extra, fix readJsonAsync

* literally fixed bug
2016-09-26 08:27:03 -07:00
Peter Burns
140c5d2895 Support .constructor in chalk typings (#11411)
* Support .constructor in chalk typings

* Restore namespace to Chalk. Add dim() and hidden() methods.
2016-09-25 16:28:18 -07:00
Andy
9ad8bd9479 Merge pull request #11474 from DefinitelyTyped/merge_24sep
Merge 24sep
2016-09-24 18:52:32 -07:00
Andy
345e576d20 Merge pull request #11020 from geoffreak/maxmind-typing
Typing for maxmind [types-2.0]
2016-09-24 18:52:08 -07:00
Joshua DeVinney
81c16a8897 Adding version and dropping the I from the interfaces 2016-09-24 19:34:09 -05:00
Andy Hanson
89d6358b54 Merge remote-tracking branch 'origin/master' into merge_24sep
Conflicts:
	angular-material/angular-material.d.ts
	bookshelf/bookshelf.d.ts
	react-widgets/react-widgets.d.ts
	vinyl/vinyl.d.ts
2016-09-24 16:40:57 -07:00
Andy
40a22e2699 Merge pull request #11352 from waratuman/master
Adding missing static methods to Bookshelf
2016-09-24 12:29:10 -07:00
Andy
24189fd6a0 Merge pull request #11471 from danvk/dygraphs
Typings for the dygraphs charting library
2016-09-24 11:00:26 -07:00
Dan Vanderkam
d7f49d8166 include version 2016-09-24 13:37:33 -04:00
Dan Vanderkam
966b3eff1b reference google.visualization 2016-09-24 13:16:24 -04:00