Commit Graph
40640 Commits
Author SHA1 Message Date
vlascik ed1e090ecf Name default exports to help with auto-imports (#23287) 2018-01-30 11:50:19 -08:00
Pierantonio Cangianiello f173bc7f72 [serialport] Add SerialPort.list() (#23284)
* Add SerialPort.list()

Adding `list()` static method to `SerialPort` class. See [here](https://github.com/node-serialport/node-serialport/blob/master/lib/serialport.js#L612)

* Update index.d.ts
2018-01-30 11:37:40 -08:00
Egor Shulga 5a8fffbd91 [react-native-navigation] Add type definitions (#23283)
* [react-native-tab-view] SceneMap should support all React.ComponentType's

* [react-native-navigation] Add typings

* [react-native-navigation] add navigator.setStyle() method
2018-01-30 11:36:16 -08:00
Clark Stevenson 849190ba67 Updates pixi.js to 4.7.0 (#23281)
* Updates pixi.js to 4.7.0

* Bump pixi.js header version to 4.7
2018-01-30 11:34:59 -08:00
Passakorn Suppakityothin 97bc67099c Add "namespace" attribute to options interface (#23280) 2018-01-30 11:33:47 -08:00
dherman d337ba060d add missing multiple property to the Request class (#23274) 2018-01-30 11:32:09 -08:00
Phạm Dương Nhật Nam f78769eea6 conf: add onDidChange method for v1 (#23273)
* conf: add onDidChange method for v1

* conf: remove v1 history cause by mistake
2018-01-30 11:31:34 -08:00
Cory Deppen 1748b088ab Allow resolveWeak to return a string (#23270)
Handles cases where module ids are hashed.
2018-01-30 11:27:04 -08:00
LachlanStuart 4c1b2958ab add types for promise-queue (#23267) 2018-01-30 11:23:31 -08:00
Kevin Nacios 5beff6a920 Add types for humanize-string (#23266)
* Add types for humanize-string

* remove namespace
2018-01-30 11:22:36 -08:00
CodeAnimal b3bc318cf2 Update Stripe package with missing subscription items properties (#23263)
* Abstract `billing` type into a type alias

* Add `items` property to Subscription interfaces, deprecate `plan`

* Add tests

* Complete tests

* Correct unit test
2018-01-30 11:20:05 -08:00
Sergio Sánchez f616142675 [Expo] Rename gitExponentPushTokenAsync to use new name (#23248) 2018-01-30 11:18:44 -08:00
EreckGordon c51ad6b34b import and use Url properly (#23225)
* import and use `Url` properly

currently imports a `URL` from 'url' library, except that `URL` does not exist; however `Url` does exist. 

Discovered upon trying to run tsc and getting the following error message: `node_modules/@types/nodemailer/lib/mailer/index.d.ts(6,10): error TS2305: Module '"url"' has no exported member 'URL'.`

As soon as I replaced `URL` with `Url` tsc correctly compiled.

* missed one :o
2018-01-30 11:17:14 -08:00
Markus Tacker 73518ca44a fix(aws-lambda): AuthResponseContext children may be objects (#23192)
If used with a custom authorizer, there will be a claims object
with the parsed JSON web token.
See https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html
2018-01-30 11:04:01 -08:00
John Kleinschmidt a0b24ba3d7 Update electron-packager fo 10.1 (#23191) 2018-01-30 11:03:31 -08:00
SoraYama 3f1f38b16b Update index.d.ts (#23021)
* Update index.d.ts

add containPixel in interface ECharts.

* Update index.d.ts

1. fix quotation marks in Japanese
2. desperate interface `finder`
3. change const `graphic` to interface

* add getMap 

add getMap method declaration

* Update index.d.ts

1. changed all comments to JSDoc type;
2. fix `graphic` variable & add interface `Graphic`;
3. add TypeScript version instruction;
4. changed `mapObj` interface to CamelCase;

* delete import for travis
2018-01-30 11:00:58 -08:00
Matthew Scharley 2b2aaf8b2d bull: Add Queue#getWaiting (#23148)
* bull: Add Queue#getWaiting

* bull: Add isLocal flags for pause/resume

* bull: Fix JobCounts#waiting
2018-01-30 10:55:19 -08:00
Tim Stackhouse cd4561ee0e [sinon-stub-promise] Update typings to support chainable calls and signatures of v2.1.0+ (#23174) 2018-01-30 10:46:22 -08:00
Andy 6a187f6d44 Reword instructions for updating to a new major version (#23223) 2018-01-29 12:51:25 -08:00
Philipp Gürtler 3f42f19368 jwplayer: Correct return type for getSafeRegion() function (#23220)
See https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/#jwplayergetsaferegion
2018-01-29 12:50:15 -08:00
dmitryshindin 220171257e Fix order function for tooltip, update description for order (#23211) 2018-01-29 12:48:18 -08:00
Evtushenko Alexandr 0571eabcdc Update react-overlays to v0.8, fix transition prop type in react-overlays library, remove react-overlays/Transition (#23206)
* Add `react-overlays/Overlay` component test.

* Fix `react-overlays/Overlay` and `react-overlays/Modal` components.

* Remove `react-overlays/Transition`.

* Set `react-overlays` version to v0.8.
2018-01-29 12:45:16 -08:00
jlaamanen 8fc55719bb Added proxyTimeout to ServerOptions (#23189) 2018-01-29 12:43:22 -08:00
BrennanCB d8c895891b Added IControl interface in add/remove Control (#23187)
The API documentation specifies that controls only need to implement IControl interface, however the current addControl requires Control class.

Suggestion is to overload the addControl and removeControl methods to allow for this, while to not break the existing controls like NavigationControl.
2018-01-29 12:41:59 -08:00
Calvin Huang 3dca396263 Since the official document said: "Hit type is the type of hit", it would be much clear if we use type to define HitType instead of an enum. (#23184) 2018-01-29 12:38:32 -08:00
Omar Diab 23faf25636 Knex.join: table can be a subquery (#23177)
* Allow tableName in joins to be QueryCallback

* Add tests for join with callback as table
2018-01-29 12:36:21 -08:00
Shawn Clabough fb4fc8d1c2 Update index.d.ts for Kendo-UI GridColumn definition (#23166)
Since the command property of a GridColumn can be an array of strings or string, for example:

{ command: ["edit", "destroy"], title: "kendo", width: "250px" }
{ command: "destroy", title: "kendo", width: "250px" }

The current definition is
command?: GridColumnCommandItem[];

but it should be
string|(string|GridColumnCommandItem)[];

Following documentation at https://docs.telerik.com/kendo-ui/api/jsp/grid/column-commanditem
2018-01-29 12:34:02 -08:00
Alex Koehler 9cbe2c5459 Added scale, scaleX and scaleY functions to cropperjs class type. (#23150) 2018-01-29 12:31:57 -08:00
koprinkov af63181104 @types/react-table onFetchData definition updated and pages added to ControlledStateOverrideProps (#23141)
* onFetchData definition updated and pages added to ControlledStateOverrideProps

* .tsx alignment
2018-01-29 12:28:45 -08:00
Alejandro Fernández Haro 7968b99ad1 async-lock: Generics in returned values (#23131)
* async-lock: Generics in returned values

* Revert promise with "done" test to prove it still works as before

* Add test where fn is a promise
2018-01-29 12:26:24 -08:00
Phil McCloghry-Laing 257c8bc48a [semver] Upgrade to 5.5, add typing for coerce (#23120) 2018-01-29 12:24:25 -08:00
Stephen Wilcox 48d55d55fa Update chai-string definitions for 1.4.0 (#23118) 2018-01-29 12:15:27 -08:00
Georgii Dolzhykov 37c1b1dfea AngularJS: 1) fix for $q.reject in then callbacks, 2) types for $error and $pending (#23115)
* AngularJS: 1) fix an issue with $q.reject in then callbacks, 2) types for $error and $pending

Fixes #21333

* Promise typings from lib.d.ts + IPromise<never> hack
2018-01-29 12:12:25 -08:00
Kurt Preston 3c02bc73f8 [gulp-nodemon] Adding args, nodeArgs, scriptPosition to Options (#23096) 2018-01-29 12:06:10 -08:00
Punit Gupta 204f9d15c7 Add types for '@storybook/vue' package (#23048)
* feat(storybook__vue): Add @storybook/vue types

* fix(storybook__vue): Add generic param to ComponentOptions

* fix(storybook__vue): Fix linting issues

* fix(storybook__vue): Fix build errors

* fix(storybook__vue): Minor bug fix
2018-01-29 12:02:28 -08:00
Matt R. Wilson 8433a74d30 [@types/request] Fill out Request and Response. (#23004)
* [@types/request] Fill out Request and Response.

This hold much more true to the actual lib where a `Request` and
`Response` reference each other and the `Request` has most of the
provided options merged onto it, plus other stuff.

Makes use of the newly added `@types/caseless` to DRY up some of the
header work.

Updated version reference from 2.0 to 2.47 to cover both the addition of
`caseless` and the removal of `getAgent` from the lib.

I have a project that uses `request-promise-native`, these changes work
in my testing and having the `Response` object typed allowed me to
remove all my declaration merging files from the `request` namespace.

* [@types/request] Update promise sub-libs.

Update `request-promise` and `request-promise-native` to use new
`Response` interface.
2018-01-29 11:57:16 -08:00
Ryan Cavanaugh 175b31c5dc Fix spelling of "enableTouchControl" (#23261)
Fixes #23259
2018-01-29 11:45:54 -08:00
Thea Lanherne 9c90ba4143 Add missing drawerBackgroundColor prop to react-navigation DrawerNavigatorConfig (#23255) 2018-01-29 11:45:09 -08:00
Andy Patterson cedbc9ed4d Use NodeRequire as callback parameter type (#23254) 2018-01-29 11:44:50 -08:00
woutervh- bb7103dc31 Added missing FeatureCollection type field (#23249) 2018-01-29 11:44:42 -08:00
KoalaHuman 71d5025d76 [react-datepicker] updated typings for 1.1.0 (#23247) 2018-01-29 11:44:02 -08:00
Jan Franciszek Cieslak a28ebd0744 missing arg for marksAcross($end) (#23242) 2018-01-29 11:41:31 -08:00
bruce-lindsay 89fca5987e cucumber 4.0.0 (#23241)
* update for cucumber 4

removed members dropped from cucumber js according to changelog
  registerHandler, registerListener, Around

added new module level exports replacing obsolete
defineSupportCode callback

add useForSnippets and perferForRegexpMatch to transform

* make travis ci happy with v3 folder
2018-01-29 11:41:03 -08:00
JB Nizet 6247574fa6 luxon: add changes introduced in versions 0.3.1 and 0.4.0 (#23235) 2018-01-29 11:35:41 -08:00
AJ Richardson fe8a866480 Zip different types (#23232)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests

* lodash: zip should allow arrays of different types

* Remove pointless namespace
2018-01-29 11:35:07 -08:00
Jan Lohage 33b99a3fe9 [@feathersjs] add missing dependency to @feathersjs/socketio and @feathersjs/primus packages, add reexports to @feathersjs/express (#23230)
* [@feathersjs] add @feathersjs/socket-commons import to @feathersjs/socketio and @feathersjs/primus packages

* [@feathersjs] fix ts version in @feathersjs/socketio and @feathersjs/primus packages

* [@feathersjs] really fix ts version in @feathersjs/socketio and @feathersjs/primus packages

* add express reexports
2018-01-29 11:31:18 -08:00
Ahn f08ec1c02f Remove global spyOn, pending, fail (#23226) 2018-01-29 11:28:32 -08:00
Eloy Durán 1254d58f4a Merge pull request #23245 from iRoachie/maskedviewios
Change MaskedView to MaskedViewIOS
2018-01-29 08:51:03 -05:00
Kyle Roach 15c9a4af74 Change MaskedView to MaskedViewIOS 2018-01-29 05:14:07 -04:00
benstevens48 d7e5361938 Add types for koa-multer (#23227)
* koa-multer initial commit

* make requested changes to koa-multer
2018-01-27 11:32:21 -08:00