Commit Graph

23372 Commits

Author SHA1 Message Date
JD-Robbs
dd56cf09c4 Create tslint.json 2017-01-10 19:09:12 +00:00
JD-Robbs
22e1bd7305 Update tsconfig.json 2017-01-09 18:35:00 +00:00
JD-Robbs
f579b14ff5 Update index.d.ts 2017-01-09 18:23:47 +00:00
JD-Robbs
fea8a860b0 Edits JSDoc 2017-01-09 18:15:35 +00:00
JD-Robbs
58af9b8807 Update sha1-tests.ts 2017-01-09 18:15:03 +00:00
JD-Robbs
5e054896cd Add additional tests 2017-01-09 18:10:44 +00:00
JD-Robbs
e28099962b Extend typings 2017-01-09 18:06:22 +00:00
JD-Robbs
ff96652906 Move file 2017-01-09 18:01:31 +00:00
JD-Robbs
4547b99203 Move file 2017-01-09 18:01:09 +00:00
JD-Robbs
5b76a5ecfb Adds tsconfig.json 2017-01-09 17:59:25 +00:00
JD-Robbs
454c075035 Adds initial test 2017-01-09 17:58:46 +00:00
JD-Robbs
8f1c02df74 Adds SHA1 definition 2017-01-09 17:49:41 +00:00
Scott(JuJiang)
1b5a083cdf update: more accurate types (#12562) 2016-11-10 21:21:47 +09:00
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