Commit Graph

24578 Commits

Author SHA1 Message Date
Mateusz Lewandowski
d89e3032bd Missing stroke parameters in SVG properties 2016-12-11 17:09:57 +01:00
Thiago de Arruda
9d6ee729f8 Add fs-promise declarations (#13223) 2016-12-09 09:03:28 -08:00
Andy
43b47cd512 Revert "Vue provides its own typings (#13230)" (#13235)
This reverts commit fd18042829.
2016-12-09 08:50:18 -08:00
Andy
fd18042829 Vue provides its own typings (#13230) 2016-12-09 08:43:45 -08:00
Andy
c4baa7c839 Upgrade node version used by travis (#13234) 2016-12-09 08:37:37 -08:00
Horiuchi_H
dc52825d82 Merge pull request #13194 from bertolo1988/types-2.0
fix SchemaOptions.versionKey type
2016-12-09 11:28:44 +09:00
Paul van Brenk
af4ddd7fb9 Merge pull request #12149 from fjmorel/types-2.0
Add types for node-hue-api npm package
2016-12-08 15:28:20 -08:00
Fred Morel
b7ca3c74bd Attempt to pass review 2016-12-08 18:16:26 -05:00
Stefan Reichel
edfee9d9ee Added declarations for content-disposition (#13191)
* Added declarations for content-disposition

* Fixed missing semicolon

* Added empty function

* Made ContentDisposition an interface instead of a class

* Filename may be undefined but not void
2016-12-08 14:15:16 -08:00
Daniel Rosenwasser
f599b18306 Added declarations for 'is-binary-path'. (#13173)
* Added declarations for 'is-binary-path'.

* Ensure 'is-binary-path' returns a 'boolean'.
2016-12-08 14:12:51 -08:00
Ron Buckton
e49235e934 Merge pull request #13198 from voxmatt/patch-2
Adding onReadyStateChange callback to setVariables
2016-12-08 12:23:17 -08:00
Ron Buckton
5ecb9de64e Merge pull request #13200 from DefinitelyTyped/tsconfig_types
"types" in tsconfig should be empty.
2016-12-08 12:19:59 -08:00
Ron Buckton
a6e365e8d5 Merge pull request #13201 from delaneyj/types-2.0
passport-twitter 1.0.4
2016-12-08 12:11:10 -08:00
Delaney Gillilan
8789bb745d update header per pull request template 2016-12-08 10:51:14 -08:00
Delaney Gillilan
3a4b1cf062 Include optional email and request in callback. 2016-12-08 10:46:42 -08:00
Andy Hanson
b469c76ea5 "types" in tsconfig should be empty. 2016-12-08 09:57:56 -08:00
Matt Martin
d0c8f10aa1 Adding onReadyStateChange callback to setVariables
`this.props.relay.setVariables` takes an optional callback that's not currently represented in the types. Just adding that.

See this answer on StackOverflow for a high-level overview:
http://stackoverflow.com/questions/35471836/loading-indicator-after-this-props-relay-setvariables-triggered-fetch

And the docs have more detailed information about what the callback provides:
https://facebook.github.io/relay/docs/guides-ready-state.html
2016-12-08 09:31:32 -08:00
Tiago Bértolo
e2eff850c6 fix SchemaOptions.versionKey type
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13163#issuecomment-265632279
2016-12-08 16:41:41 +00:00
Yu Jianrong
ac7fdf1498 Add declaration for node.xml (#13093) 2016-12-08 08:16:35 -08:00
Stephan
321a810505 Remove redux-thunk (external) (#13162)
* Added export, tests to chart.js

fixes #12525

* Remove redux-thunk typing (external)

* Revert "Added export, tests to chart.js"

This reverts commit ef08762ba2.
2016-12-08 07:09:48 -08:00
Sebastian Brückner
7898c0be89 Add declarations for react-gravatar. (#13147) 2016-12-08 07:07:59 -08:00
Daniel Rosenwasser
227b936636 Added declarations for 'is-path-cwd'. (#13172) 2016-12-08 06:50:21 -08:00
Daniel Rosenwasser
a4ca347c36 Added declarations for 'in-range'. (#13171) 2016-12-08 06:49:28 -08:00
Mohsen Azimi
97af45fd65 Add babel-code-frame (#13102)
* Add babel-code-frame

* Add babel-code-frame

* index

* Follow naming convention

* tests

* ref fix

* Address issues raised in code review

* CR fixes

* make options... optional

* Update test to not assert
2016-12-08 06:37:46 -08:00
Masahiro Wakame
5895abee7e update incremental-dom (#13041) 2016-12-08 13:27:01 +09:00
Masahiro Wakame
2d277c009a add window-or-global (#13040) 2016-12-08 13:26:52 +09:00
Ron Buckton
731a29f70d Merge pull request #13160 from EricByers/ftpd-changes
Adding ftpd logLevel to options and runtime, also adding tests
2016-12-07 15:10:17 -08:00
Paul van Brenk
64ea979e0c Merge pull request #12461 from AdamCmiel/paymentrequest
add PaymentRequest spec
2016-12-07 14:39:44 -08:00
Goldsmith42
9b58b09101 Definition for speakingurl (#13105) 2016-12-07 14:06:21 -08:00
Eric Byers
82cf57ccd1 Code review changes 2016-12-07 15:54:10 -06:00
Eric Byers
50ee7005f0 Should probably follow the actual ENUM 2016-12-07 15:25:52 -06:00
Eric Byers
8800e84b83 Exporting an enum instead of an interface 2016-12-07 15:22:38 -06:00
Eric Byers
be73464fa1 Adding ftpd logLevel to options and runtime, also adding tests 2016-12-07 15:06:52 -06:00
Andy
34124e057f Clean up lodash modules (#12995) 2016-12-07 11:44:18 -08:00
Daniel Rosenwasser
e31cdc7baa Added declarations for 'get-stdin'. (#13128)
* Added declarations for 'get-stdin'.

* Moved 'types' dependency on 'node to a triple-slash ref comment.

* Added linting for 'get-stdin'.
2016-12-07 11:23:24 -08:00
Andy
45a9a433f4 Fix references to "stats" to "stats.js" (#13150) 2016-12-07 06:54:22 -08:00
Tom Wanzek
cce6c24779 [types-2.0] D3 Batch 2 with strictNullChecks, JSDoc and Fixes (#12923)
* d3-path strictNullChecks and JSDoc
* (d3-path) [Chore] Added complete JSDoc comments
* (d3-path) [Enhancement] Validated and activated for use with `strictNullChecks`

* d3-chord: Enhancement, Fixes, Chore
* (d3-chord) [BREAKING FIX] Added additional interfaces Ribbon and RibbonSubgroup to reflect the interfaces actually assumed by default by RibbonGenerator. While the API documentation refers to passing in a Chord object when invoking the RibbonGenerator by default, this actually means the default radius accessor returns undefined, which is then coerced to NaN. To avoid this "silent" fail, Ribbon and RibbonSubgroup are now used as the datum types returned by the default `ribbon()` factory without explicit generics. This is a purposely accepted breaking change, as it means that passing in a Chord object will now fail. The correct way, will be to use the generics of the `ribbon<...>()` factory to cast the datum type to work with Chord. This should serve as a mental cue to  ensure the accessors are customized accordingly. E.g. by setting a constant radius.
* (d3-chords) [Chore]: Added JSDoc comments
* (d3-chords) [Enhancement]: Validated, updated and activated for use with `strictNullChecks`. Note,in particular the updated signatures for invoking the RibbonGenerator. These are now overloaded with one returning `void` (canvas context), and the other returning `string | null`, where the rendering context is `null`. Note that teh API suggests a string is returned in this case, however, it may actually return `null` as well as per source code. It is at the developers discretion to ensure return value expectations correspond to rendering context.
* (d3-chords) [Chore] Updated tests and bumped patch version number to indicate which version was last fully reviewed.

* d3-time: strictNullChecks, JSDoc and Fix
* (d3-time) [Fix]: Return type of method `TimeInterval.filter(...)` changed from `this` to `TimeInterval`. This corrects an earlier regression, whereby applying `filter(...)` on a `CountableTimeInterval` incorrectly returns `CountableTimeInterval`. The correct return type is restricted to `TimeInterval`. Tests updated.
* (d3-time) [Enhancement]: Validated, updated and activated for use with `strictNullChecks`. Tests updated.
* (d3-time) [Chore]: Complete JSDoc comments.
* (d3-time) [Chore]: Updated patch version to reflect latest validated release of d3-time

* d3-scale:
* (d3-scale) [Refactoring]: Added interface `ScaleContinuousNumeric<Range, Output>` to consolidate some of the repeatable properties for numeric continuous scales. Use extension and scale-specific implementations as needed
* (d3-scale) [Fix]: `ScaleLogarithmic.nice()` does not have `count` argument
* (d3-scale) [Fix]: Relaxed constraint on data type for `domain(...)` setter and scale application for `ScaleTime` to allow numeric values, which are coerced to Date internally by d3-scale.
* (d3-scale) [Enhancement]: Validated, updated and acrivated for use with `strictNullChecks`
* (d3-scale) [Chore]: JSDoc comments completed

* d3-shape
* (d3-shape) [Fix]: Signatures for invoking a generator which renders have been changed as follows: There used to be one signature which returned `string | undefined` depending on whether a rendering context was or not. This had been split into two signatures, the first returns `string | null` when creating a path string with rendering context "null", the second returns `void` when a rendering context is set. The change was made, so that the configured generator can be passed into a `Selection.attr('d', ...)` call without issues. Note that the `string | null` return type for the path string option is based on the actual code, which  may return `null` if path string generation "fails".
* (d3-shape) [Fix]: Added missing `padRadius` signature to `Arc` generator.
* (d3-shape) [Fix]: Removed `line<This, Datum>(): Line<Datum>` signature, as there is not "this" context for line generator
* (d3-shape) [Enhanced]: Where generators allow configurations of curve factories to be used, as second signature was added to  allow casting the return type of the `curve<C extends CurveFactory | CurveFactoryLineOnly>(): C` getter
* (d3-shape) [Fix]: Fixed invocation signatures for `CurveFactoryLineOnly` and `CurveFactory`. The signature  incorrectly used to allow null: `CanvasRenderingContext2D | null`. It has been changed to `CanvasRenderingContext2D | Path`, `Path` has been added as this is actually the rendering context used internally by the generators in d3-shape, when creating an SVG path string.
* (d3-shape) [Fix]: Moved `index` property from `SeriesPoint` to `Series` interface. This corresponds to actual D3 data structure/API.
* (d3-shape) [Enhancement]: Validated, updated and enhanced for use with `strictNullChecks`.
* (d3-shape) [chore] Changes related to linting, Disabled "unified-signatures" in tsling.json due to usability considerations.

* d3-chord and d3-scale:
* (d3-chord) [Fix]: Minor fixes to correct comments
* (d3-chord) [Chore]: Completed linting and added `tslint.json` to disable "unified-signatures" rule due to usability considerations.
* (d3-scale) [Chore]: Completed linting and added `tslint.json` to disable "unified-signatures" rule due to usability considerations.

* d3-shape:
* (d3-shape) [Chore]: Selectively disable linting rule for functional interfaces which are extended. (As per @gustavderdrache)

* d3-scale:
* (d3-scale) [Chore]: Selectively disable lint warning on extended functional interface
* Removed comment from `tslint.json` files.

* strictNullChecks chore
* (d3-chord) [Chore]: Use postfix to assert non-null for a test variable.
* (d3-shape) [Chore]: Use postfix to assert non-null for a test variable.

* Updated  header comments to new convention.

* d3-chord
* (d3-chord) [Chore]: Change occurrence of double-quotation mark for single-quotation mark in test file
2016-12-06 18:03:30 -08:00
Daniel Rosenwasser
7090b473b6 Added declarations for 'array-uniq'. (#13127)
* Added declarations for 'array-uniq'.

* Added linting for 'array-uniq'.

* Removed patch number in 'array-uniq'.
2016-12-06 18:02:21 -08:00
Horiuchi_H
618e065641 Merge pull request #13137 from lukas-zech-software/types-2.0
Add interface for AuthenticateOptions
2016-12-07 10:31:17 +09:00
John Reilly
27c127b3e3 Merge pull request #13141 from schickling/patch-3
Added playsInline property as introduced in React 15.3.2
2016-12-06 22:21:33 +00:00
Johannes Schickling
f9308bf248 Added playsInline property as introduced in React 15.3.2 2016-12-06 22:39:25 +01:00
Tom Wanzek
0d43d2334f [types-2.0] D3 Upgrade to version 4.4 (#13138)
* d3 (Update to version 4.4)
* Pin dependency for d3-geo to version 1.4
* Pin dependency for d3-zoom to version 1.1
* Update header comment version to 4.4

* d3 legacy linting
* disabled linting of legacy definitions and tests at file level.

* Remove tslint:disable from legacy tests
2016-12-06 12:40:56 -08:00
Andy
1770103b6e Move header versions to the end of the line where they can be parsed (#13139) 2016-12-06 10:57:11 -08:00
Lukas Zech
fa309324ef Add interface for AuthenticateOptions 2016-12-06 18:48:37 +01:00
Daniel Perez Alvarez
adaad654ab Remove types for normalizr (#13129) 2016-12-06 07:05:39 -08:00
Andy
6e7f954f81 Add missing line to header (#13133) 2016-12-06 06:50:03 -08:00
Paul van Brenk
31d40c8672 Merge pull request #12658 from patsissons/jquery-deparam
Adding jquery-deparam typings
2016-12-05 14:53:41 -08:00
Paul van Brenk
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 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