Commit Graph

23359 Commits

Author SHA1 Message Date
Scott(JuJiang)
0298c01966 update: add private member info and rename an interface (#12563) 2016-11-10 21:21:40 +09:00
Dan Manastireanu
19e5c2a094 Updated google.visualization with OrgChart. Closes #3687 (#12360) 2016-11-10 21:21:26 +09:00
Scott(JuJiang)
e2a78f7234 update: improve typings for some class methods (#12564) 2016-11-10 21:21:13 +09:00
John Reilly
5ea449f95a Merge pull request #12590 from Chudesnov/stateless-components-children
Allow children in stateless components’ props by default
2016-11-10 09:58:38 +00:00
Yui
02331b2a6d Merge pull request #11953 from joakimgunst/types-2.0
Fixed bugs in angular-permission 2.3.6 type defintions.
2016-11-09 17:29:13 -08:00
Yui
34253d060f Merge pull request #12551 from DanielRosenwasser/winston-default
Expose 'default' member on Winston
2016-11-09 17:23:13 -08:00
Alexander Chudesnov
6922165cbb Allow children in stateless components’ props
This allows passing children to `StatelessComponent<P>` exactly like base components without the need to use React.Props<T> or extending the P interface with an explicit 'children' property:

# Before
````typescript
    type FooProps = {
      bar: number;
    }
    const Foo: React.SFC<FooProps> = props => (
      <div>
        {props.children} = {props.bar} // error TS2459: Type 'FooProps' has no property 'children' and no string index signature.
      </div>
    );
````

# After
````typescript
    type FooProps = {
      bar: number;
    }
    const Foo: React.SFC<FooProps> = props => (
      <div>
        {props.children} = {props.bar}
      </div>
    );

    <Foo bar="42">6×9</Foo> // <div>6×9 = 42</div>
````
2016-11-09 21:58:54 +03:00
Andy
b8c6cce444 Prefer es6 target and forceConsistentCasingInFileNames (#12537) 2016-11-08 12:59:26 -08:00
Bradford Wagner
215055b6c6 adding angular clipboard (#12458)
* adding angular clipboard

* adding tests

* fixing unit tests

* Update angular-clipboard-tests.ts

triggering build

* adhering to the no interface I convention

* just using a module now

* strictNullChecks: true, and removing declare module
2016-11-09 00:20:32 +09:00
Steve
77b51c349b updated typings (#12532)
* updated typings

* fix comments from PR
2016-11-09 00:17:47 +09:00
Steve
988774a261 bind ponyfill type def (#12559) 2016-11-09 00:17:25 +09:00
Philipp A
8b21b7adde Fixed StringProtocolCallback call signature (#12522) 2016-11-09 00:16:00 +09:00
Martin Sikora
9d945fb562 Added missing onStop() method. (#12558) 2016-11-09 00:15:41 +09:00
Brendan Forster
4bb4da0393 line argument is an object, not a primitive (#12393) 2016-11-09 00:12:49 +09:00
Ilya Kuznetsov
5f1b099130 [Types 2.0] Add Chai-spies (#12489)
* Types for chai-spies

* References for external dependencies were added

* chai-spies: reference to 'chai' typings was added
2016-11-09 00:06:35 +09:00
Jan Michael Alonzo
0052449e29 [Yargs] Allow Command modules to be passed into command fn (#12524)
* [Yargs] Allow Command modules to be passed into command fn

* [yargs] Remove I prefix in CommandModule

* [Yargs] Replace Array<> with string[]

* Make builder, command, describe optional; Handle (c, d, m) command signature
2016-11-09 00:03:45 +09:00
Linken Dinh
7f9ddef9b8 [types-2.0] react - better strict mode compatibility (#11935)
* strict mode compatible

* include 11931

* vsiao - code review

* vsiao - code review - revert complex cloneelement case

* validator to accept null

* remove double tests

* test use Error | null

* code reviews

* code reviews
2016-11-08 23:53:49 +09:00
Andy
ded43c0126 Make test files lowercase so they compile on linux (#12549) 2016-11-08 23:39:26 +09:00
Adam Cmiel
2f38649769 Types 2.0 (#12429)
* add missing members for token creation

add `createToken: (StripeTokenData) => Promise<StripeTokenResponse>` overload to StripeStatic
add `type: string` in StripeTokenResponse

* [FIX] response interfaces

* add apple pay

* [FIX] tests
2016-11-08 23:15:49 +09:00
Dan Manastireanu
8f06c382f0 Update ChartAnnotations in google.visualization. Closes #11828 (#12362) 2016-11-08 23:13:47 +09:00
Andy
67213581f3 Upgrade packages for types-2.0 (#12539) 2016-11-08 06:05:52 -08:00
Rasmus Prentow
93bb233648 Added missing method and missing param (#12403) 2016-11-08 22:59:28 +09:00
Endel Dreyer
1a5687cdc6 EaselJS: add relatedTarget to MouseEvent (#12533)
* EaselJS: add propagationStopped and relatedTarget to MouseEvent

* remove propagationStopped from MouseEvent

it should rather be in createjs-lib.d.ts Event definition
2016-11-08 22:59:16 +09:00
Steve
374978e36a Add definitions for trim (#12292)
* Add definitions for trim

* comments from PR
2016-11-08 22:58:24 +09:00
SONIC3D
fd7d42b3f1 [dat-gui]Updated definitions to dat.gui 0.6.1 (#12370) 2016-11-08 22:43:58 +09:00
Stephan
b4cd313a9a constructor of Chart also accepts HTMLCanvasElement (#12526)
According to http://www.chartjs.org/docs/#getting-started-creating-a-chart the constructor also accepts a HTMLCanvasElement as first argument.
2016-11-08 22:43:32 +09:00
Rand Scullard
9fbf2bbcd8 node-schedule: Add support for object literal syntax. (#12445) 2016-11-08 22:35:23 +09:00
David Zearing
732b0378d8 Updating capture events + test. (#12327)
* Updating capture events + test.

* Updating Capture methods to be inlined.

* Removing mouse enter/leave captures.
2016-11-08 22:25:07 +09:00
Daniel Rosenwasser
e1a436489d Moved the 'Winston' interface to the namespace so that it can be augmented. 2016-11-07 21:22:42 -08:00
Daniel Rosenwasser
ce87f73b3e Added a test for the default logger in 'winston'. 2016-11-07 21:13:52 -08:00
Daniel Rosenwasser
a32d7bf956 Fixed 'winston' to expose a member named 'default'. 2016-11-07 21:13:30 -08:00
Daniel Rosenwasser
d59071ff07 Decomposed 'winston' into a var/namespace/type so it can export a member named 'default'. 2016-11-07 21:09:13 -08:00
Yui
fc0c17b5ef Merge pull request #12519 from borekb/request-url-type-fix
Enhanced type of `url` and `uri` properties on the options object
2016-11-07 15:52:45 -08:00
Yui
4acd8c6916 Merge pull request #12485 from rsolomo/patch-bunyan
Update bunyan LoggerOptions to accept stdSerializers
2016-11-07 14:48:27 -08:00
Yui
9951e5fd6c Merge pull request #12469 from jesperzach/patch-2
Solved export error in index.d.ts
2016-11-07 14:32:42 -08:00
Yui
5b2c758bc3 Merge pull request #12466 from rufusl/angular-promise-tracker
Angular promise tracker
2016-11-07 14:03:44 -08:00
Tom Wanzek
fae5774ce6 Upgrade d3 to version 4.3 (#12534)
* [Chore]: Bump minor version number in definitons header
* [Chore]: Bump minor version  of `@types/d3-geo` dependency in package.json to 1.3
* [Chore]: Bump minor version  of `@types/d3-voronoi` dependency in package.json to 1.1
2016-11-07 12:26:51 -08:00
John Reilly
b39f6e9712 Merge pull request #12495 from bruce-lindsay/DefinitelyTyped-issues-12494
Definitely typed issues 12494
2016-11-07 18:45:58 +00:00
Georgii Dolzhykov
44f2662e49 Remove the typings for Protractor as it provides its own typings (#12482) 2016-11-07 10:43:45 -08:00
Nicolás Fantone
ba5d738c52 Update amqplib definitions to v0.5.0 (#12427)
* Update amqplib definitions to v0.5.0

* Remove unused import

* Restore previous 0.3.x amqplib definitions
2016-11-08 01:45:08 +09:00
Scott(JuJiang)
ad11ed23f2 Types/webpack sources (#12484)
* feat: add definition for webpack-sources

* fix: enable strictNullChecks
2016-11-08 01:29:51 +09:00
Tom Wanzek
39bfded109 [types-2.0] d3-geo Update to 1.3.1 (#12492)
* (d3-geo): Update to 1.3.1 and JSDoc
* [Chore] Updated definitions to conform to version 1.3.1
* [Feature] Added `geoIdentity()` and removed `geoClipExtent()`
* [Feature ] Added geoGraticule10()
* [Update] Changed API for `geoPath(...)`
* [Enhancement] Complete overhaul of  JSDoc comments
* [Chore] Some changes to sequencing of definitions
* [Fix]: Fixed GeoPath pointRadius() Accessor (getter may return constant number or accessor function.
* [Fix] GeoPath generator may return string (SVG path string) or undefined (when called with rendering context)
*

* (d3-geo) Test Updates
* Add  test for `geoGraticule10()`
* Remove tests for `geoClipExtent()`
* Add tests for `geoIdentity()`
* Fixed clipExtent tests to include explicit union with `null` type for return value of getter
* Fixed pointRadius getter test on geoPath to allow for accessor or number to be returned by getter

* (d3-geo) Tests Additional
* Add some more tests for new geoPath(...) API
2016-11-07 07:24:50 -08:00
Andy
e32ebf0ee4 Update angular-ui-router-default for types-2.0 (#12479) 2016-11-08 00:16:58 +09:00
XQ Kuang
b8f50c92ee + Navbar.Link and Navbar.Text to react-bootstrap (#12294) 2016-11-08 00:14:51 +09:00
TonyYang
393ada1ee2 [@types/mongoose] Declare a right type for _id (#12462)
* Declare a right type for _id

* Delete the error definition
2016-11-07 23:35:49 +09:00
TonyYang
f555feb4fc Add "toString()" for ObjectID (#12463) 2016-11-07 23:35:21 +09:00
Rogier Schouten
b006daa1c6 Add typings for object-diff. (#11984)
* Add typings for object-diff.

* review comment

* review comment - tsconfig.json

* fix tsc errors
2016-11-07 06:24:21 -08:00
sousarka
e9270215e9 Update index.d.ts (#12324)
add following options to the bootstrap-datepicker/DatepickerOptions. Also update the options url to point to the correct URL.
templates?: any;
zIndexOffset?: number;
showOnFocus?: boolean;
immediateUpdates?: boolean;
 title?: string;
2016-11-07 06:03:31 -08:00
Dan Homola
901da6fac0 Add typings for jsonminify (#12447)
* Add typings for jsonminify

* Fix test string

* Strip declare module

* Simplify declaration

* Fix declaration bug

* Change test import syntax, revert the declaration
2016-11-07 05:51:05 -08:00
Syncfusion-JavaScript
8c4ea15000 Syncfusion TypeScript(v13.3.0.52) files committed to Typings 2.0 (#12474) 2016-11-07 05:49:35 -08:00