Commit Graph
30224 Commits
Author SHA1 Message Date
Péter Kovács 8621c47604 Fix syntax error in interact.d.ts
A parameter name was missing making TypeScript compiler fail.
2016-12-08 14:04:38 +01:00
Dean Harding e31c49ce6e repetitions isn't optional after all 2016-12-08 18:38:13 +11:00
EamonHetherton e290fab63b Merge pull request #2 from EamonHetherton/patch-3
Update moment-timezone.d.ts
2016-12-08 16:13:43 +10:00
EamonHetherton f372a93d2e Merge pull request #1 from EamonHetherton/patch-2
Ensure that zoneAbbr and zoneName are expected type (string).
2016-12-08 16:12:40 +10:00
EamonHetherton b1b9addfb0 Update moment-timezone.d.ts 2016-12-08 16:08:22 +10:00
EamonHetherton 6ac7434b8b Ensure that zoneAbbr and zoneName are expected type (string). 2016-12-08 16:07:27 +10: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
e-cloud 740e3a2a99 feat: upgrade acorn definition to sync with latest acorn
NOTE: something is not done yet. But it will not block the usage in common cases. see README.md
2016-12-08 10:51:47 +08:00
Horiuchi_H e80403239f Merge pull request #13163 from bertolo1988/master
SchemaOptions versionKey type can now accept booleans
2016-12-08 11:03:31 +09:00
Evan Martin 9256d28b56 kendo-ui: mark toString() params as optional (#13164)
These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString
2016-12-07 16:58:26 -08:00
Iain McGinniss aa9a2b2017 Add typings for the W3C (WebAppSec) Credential Management API
This specification is still "draft", but is implemented in Chrome.
2016-12-07 16:28:11 -08:00
Tiago Bértolo eb935a2994 versionKey type 2016-12-07 23:24:33 +00:00
Stephan Troyer 6f5fed8bf3 adding export as namespace 2016-12-08 00:14:19 +01: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
Stephan Troyer ef08762ba2 Added export, tests to chart.js
fixes #12525
2016-12-07 21:01:14 +01: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
Dean Harding 9d67f745a7 The PR contains three fairly simple changes:
1. Geometry has method computeFlatVertexNormals (added in mrdoob/three.js#9222)
2. The type of image in DataTexture is actually ImageData.
3. The type of the first parameter in AnimationAction.setLoop() is the enum AnimationActionLoopStyles.
2016-12-08 06:03:00 +11:00
Andy 45a9a433f4 Fix references to "stats" to "stats.js" (#13150) 2016-12-07 06:54:22 -08:00
Tom Wanzek adf0e271dc Merge remote-tracking branch 'DefinitelyTyped/master' 2016-12-07 09:49:10 -05: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
Horiuchi_H 0b390b15ef Merge pull request #13132 from jcristovao/patch-2
csurf.d.ts relying on CookieOptions from express
2016-12-07 10:30:06 +09:00
Chris Lewis 0a2ec3e77e Update index.d.ts 2016-12-06 15:08:55 -08: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 8c493e4677 Merge remote-tracking branch 'DefinitelyTyped/master' 2016-12-06 16:26:55 -05:00
Thomas Hendriksen 3680719dd5 Added height property to IDialogOptions 2016-12-06 21:56:46 +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
Dolan cd60261ec8 formatted code 2016-12-06 16:53:49 +00:00
Dolan 90147825b9 removed old code 2016-12-06 16:53:35 +00:00
Dolan 0925cd5535 made it export like base64-js 2016-12-06 16:53:12 +00:00
Dolan 11e3fea84f added tests 2016-12-06 16:45:25 +00:00
Dolan 100752ac63 removed patch number 2016-12-06 16:43:14 +00:00
Dolan beb8ed8d53 added tsconfig and tslint 2016-12-06 16:28:47 +00: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
João Cristóvão c6ad01fb48 csurf.d.ts relying on CookieOptions from express
It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.
2016-12-06 13:37:31 +00: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