Commit Graph
44292 Commits
Author SHA1 Message Date
Md. Enzam Hossain a1632b79b3 Make createSpyObj definitions consistent - same strict type for all methodNames arguments. (#25466) 2018-05-03 09:07:04 -07:00
Gabriel 62da0e60ef angular-translate: Add optional fn parameter to onReady (#25477)
* Add optional fn parameter on onReady

This callback is executed if provided when the $translate service is ready.

* Add Gabriel Gil to angular-translate definitors
2018-05-03 09:05:48 -07:00
James Greenleaf f3bbaa60f2 add type definitions & tests for new props (#25485) 2018-05-03 09:00:19 -07:00
Jérémie Astori dd0d4ad0c4 Type spawn's args as a ReadonlyArray of string (#25487)
At the moment, this snippet:

```ts
const spawnArgs: ReadonlyArray<string> = ['foo', 'bar'];
spawn('foobar', spawnArgs);
```

fails with:

```
Argument of type 'ReadonlyArray<string>' is not assignable to parameter of type 'string[] | undefined'.
  Type 'ReadonlyArray<string>' is not assignable to type 'string[]'.
```

Looking at https://github.com/nodejs/node/blob/master/lib/child_process.js#L514-L535 and https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L286, it _looks_ like there is no mutation of the array. I am no expert so I'd be happy to be proven wrong, I just couldn't find sufficient evidence that a `ReadonlyArray` wouldn't be fine.
This is not a breaking change because passing a `string[]` is still valid.
2018-05-03 08:57:27 -07:00
ChrisGarber-Medlever f2236bdec5 ReactSVG - Update to 3.0 (#25493)
* test changes for v3.0

check onClick for spreading the div props support

* Version ReactSVG V3.0 typings
-added myself to contribution list
-added intersection typing with react div typing

* Just kidding these are the real V3 typings

* more changes --> more test changes
2018-05-03 08:54:24 -07:00
JounQin f7235908a0 feat: add declarations for fork-ts-checker-webpack-plugin (#25494) 2018-05-03 08:53:11 -07:00
Stephan Nordnes Eriksen 5ba9632d85 react-native-navigation: Add all Drawer properties (#25497)
* fix: Set add all Drawer properties

According to the documentation, these changes could be added:

https://wix.github.io/react-native-navigation/#/top-level-api?id=startsinglescreenappparams

* fix: Add tests and fix linting
2018-05-03 08:52:37 -07:00
Darryl Pogue 49b4aeb9f9 Remove angular reference from angular-translate (#25495)
This brings the definition in line with official AngularJS packages like
angular-sanitize, angular-mock, and angular-route.

This reference was causing bizzarre path issues when trying to run the
dgeni documentation tool on a project that included these types, and it
appears that the fix for that is to remove the reference, which
coincidentally matches what the official AngularJS packages do.
2018-05-03 08:52:13 -07:00
Kyle Roach 884979debd [react-native] ScrollView - make scrollToLocation method (#25505) 2018-05-03 08:50:27 -07:00
James Bromwell ee09f446b0 ws: add address method to Server (#25503) 2018-05-03 08:29:14 -07:00
Jinesh Shah 73a7a2d99f Added feather-icons (#25509)
* added feather-icons

* added strictfunctiontypes

* added intercom-client
2018-05-03 08:28:43 -07:00
Jinesh Shah 11c45b47fd Added intercom-client (#25510)
* added feather-icons

* added strictfunctiontypes

* added intercom-client

* splitting pull requests by package
2018-05-03 08:28:04 -07:00
Carry.Wu e05a329534 Added type definitions for behavior3 (#25469)
* add behavior3 types

* fix test issues

* type behavior3 remove jsdoc params.
2018-05-03 08:01:04 -07:00
Arne Schubert a84e447cb1 Add type definition for "request-as-curl" (#25472)
* Add type definitions for request-as-curl

* Fix TypeScript version in comment

* Add correct project URL
2018-05-02 09:39:00 -07:00
Justin Lessard 3c6a83e0b3 Updated cleave.js (#25456) 2018-05-02 08:59:11 -07:00
Boris Ablamunits 255a9b5643 Add tickMargin to XAxisProps and YAxisProps (#25470) 2018-05-02 08:40:37 -07:00
Arne Schubert de70166aa8 Add type definitions for express-jsonschema (#25471)
* Add type definitions for express-jsonschema

* Add TypeScript version comment in head
2018-05-02 08:37:13 -07:00
James Bromwell 3d4a2de3c4 node: Fix parameter type of TransformOptions transform callback (#25473) 2018-05-02 08:35:27 -07:00
Dvorak e8fd14b182 chart.js -- ChartPoint.y is allowed to be string and Date (#25474)
* Papaparse: added Parser.pause() & Parser.resume()

* chart.js -- ChartPoint.y is allowed to be string and Date
2018-05-02 08:34:58 -07:00
Ian Copp 3c18f364ae Add @zeit/next-typescript (#25443)
* Add @zeit/next-typescript

* Correct for optional parameter
2018-05-02 08:02:37 -07:00
Christoph Müller 01e0ffdbab pify: Tests fail for exclude option (#25384)
* pify: fix exclude option test in pify-tests.ts

* pify: add https://github.com/c7hm4r as contributor
2018-05-01 09:28:50 -07:00
Robbie ad4cda301a Add NavigatorEvent to react-native-navigation (#25386) 2018-05-01 09:27:54 -07:00
denisname b09a95d964 d3-dispatch: Update type definition (#25387)
* Update d3-dispatch type definition

on(type) may return undefined
add jsDoc
use ExpectError

* Typos in jsDoc
2018-05-01 09:27:00 -07:00
Michael Martin 3a684d5e26 [auth0-lock] Add missing props in AuthResult (#25389)
* [auth0-lock] Adds missing params in AuthResult

* [auth0-lock] whitespace fix
2018-05-01 09:26:25 -07:00
Sarun Intaralawan eb88013b23 Change table package name (#25390) 2018-05-01 09:26:04 -07:00
Victor d91f6d2a8b WebHookOptions interace port property name typo (#25391)
See contract in the source code:
https://github.com/yagop/node-telegram-bot-api/blob/435f06319e92f12fb7ef642f91d031dafe5aff80/src/telegram.js#L157
2018-05-01 09:25:49 -07:00
Thanh Ngo 01ee3702e4 [idyll-compiler] add types definition for idyll-compiler (#25397)
* add types for idyll-compiler

* remove unnecessary tslint rule for new typedefs
2018-05-01 09:23:25 -07:00
anantoghosh b408a4c1b5 [react-sortable-tree] Fix canDrop and onMoveNode type (#25402)
* Fix canDrop and onMoveNode type

* Re-structure PreviousAndNextLocation and related interafaces
2018-05-01 09:20:49 -07:00
Mathew Rumsey 79c02230b2 cloner - new typings - tested (#25406) 2018-05-01 09:19:57 -07:00
Anderson Friaça cc3af3a4a9 Types for JQuery Focus Exit (#25409) 2018-05-01 09:18:18 -07:00
Brendan Kenny 80d39bdaae [esprima] Add tolerant tokenize option (#25410) 2018-05-01 09:17:50 -07:00
Arne Schubert 5dafc2c0f6 Adding type defintion for murmurhash module of npm (#25413) 2018-05-01 09:16:47 -07:00
villevenalainen 349f349e9c Definitions for react-native-material-textfield (#25417)
* Definition file for react-native-material-textfield

* Changed label not mandatory

* Format fixing for files. Passing lint.
2018-05-01 09:10:45 -07:00
John Wright a51d27f792 Add url-safe-base64 npm module declarations (#25418)
* feat(types): add url-safe-base64 npm module declarations

* chore: fix name and URL
2018-05-01 09:10:15 -07:00
Chris LoPresto 78b9e35d82 [awesomplete] Add destroy function (#25426) 2018-05-01 09:08:48 -07:00
Lee Standen a374c30282 Add @atlaskit/layer types (#25427)
* Add @atlaskit/layer types

* fix name of module in comment
2018-05-01 09:04:58 -07:00
Chris Pawlukiewicz b1f123c0e6 @types/puppeteer updated types for puppeteer realease 1.3 (#25428)
* updated types for puppeteer realease 1.3

* fixed lint issues

* changed the type for tracing stop per bugfix
2018-05-01 09:04:35 -07:00
Lee Standen a1b974611a Add types for react-circular-progressbar (#25436) 2018-05-01 09:01:18 -07:00
Bradley Ayers 19561dddb8 storybook__addon-storyshots: initial version (#25440) 2018-05-01 09:00:12 -07:00
Operations Research Engineering Software+ 1a3875f3e4 update index.d.ts (#25441)
* update index.d.ts

the constructor takes an optional string first argument, and an optional options second argument

* Update index.d.ts

the first argument to the constructor is actually a required arg according to the docs.
2018-05-01 08:58:59 -07:00
Dvorak fa636385c0 Papaparse: added Parser.pause() & Parser.resume() (#25447) 2018-05-01 08:58:36 -07:00
Ian Copp 625675d4d0 Add rword (#25444) 2018-05-01 08:57:43 -07:00
Ian Copp 6a8109481a Add express-routemap (#25445) 2018-05-01 08:57:01 -07:00
Ian Copp 33cd5f4d06 Add react-share (#25446) 2018-05-01 08:56:33 -07:00
Daniela Yassuda cf14d85ec0 Create definitions for react-image-crop (#25431)
* Create definitions for react-image-crop

* Fix required TypeScript version to match React's
2018-05-01 08:51:01 -07:00
Lee Standen b2549f5a1e add @atlaskit/single-select (#25432) 2018-05-01 08:50:17 -07:00
Lee Standen f165fc7483 add types for react-autocomplete (#25433) 2018-05-01 08:49:43 -07:00
Blair Zajac d010c2aeab node: add util.isDeepStrictEqual() for v9 and v10. (#25408) 2018-04-30 16:27:34 -07:00
Andy 620ed4b696 jquery: Fix tests (#25422) 2018-04-30 19:09:12 +01:00
Ty Thorsen cd3e69c4db change type of IFlow.opts to IFlowOptions (#25274) 2018-04-30 09:17:51 -07:00