Commit Graph
41588 Commits
Author SHA1 Message Date
Chris Reeves 29e106a36b [pg] add special types for array mode queries 2018-01-30 04:14:51 -05:00
Moreton Bay RC 1196157e38 Add generics for Yup schemas 2018-01-30 13:28:46 +10:00
John Downs c51630db7f Fixed return type of getOperationType() after PR comment 2018-01-30 08:05:29 +11: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
Emily Marigold Klassen 7aa363e87e fix: set typescript version to 2.2 2018-01-29 11:58:06 -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
Emily Marigold Klassen 58db007331 style(stringify-object): use four spaces for indent 2018-01-29 11:28:22 -08:00
Emily Marigold Klassen c712450633 feat: add transform option to stringify-object 2018-01-29 11:22:13 -08:00
Ryan Cannon 861aeb58a5 [express-session]: Allow secret to be an array
From [the readme](https://github.com/expressjs/session#secret):

> This is the secret used to sign the session ID cookie. This can be either a string for a single secret, or an array of multiple secrets. If an array of secrets is provided, only the first element will be used to sign the session ID cookie, while all the elements will be considered when verifying the signature in requests.
2018-01-29 15:58:17 +00:00
Pierre-Marie eedcaa68b8 Add types for ASTNode and scope namager 2018-01-29 07:48:41 -08:00
Florian Oellerich 8254317eca [sequelize] extend RetryOptions
* Extend `RetryOptions.match` with `RegExp` and `Error` acording to `retry-as-promised`.
* Extend sequelize-tests.ts
2018-01-29 15:03:07 +01: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
Pierre-Marie d63e161002 Fix linting errors 2018-01-28 19:24:57 -08:00
Sheng Chen a3bc2e2ac8 add abort() into the websocket client 2018-01-29 10:44:04 +08:00
Pierre-Marie e1a8c9446c Add RuleTester missing types 2018-01-28 11:16:23 -08:00
Pierre-Marie 4edc769299 Add ParserModule types 2018-01-28 11:03:43 -08:00
Pierre-Marie ba6ee11d7c Add RuleModule type defintion 2018-01-28 10:59:55 -08:00
Pierre-Marie fdedcdfaa5 Add missing types to source code 2018-01-28 10:03:03 -08:00
Pierre-Marie 392a758ba5 Initial eslint type defintion 2018-01-27 18:48:47 -08:00
Blake Kostner a852fbf34c update JobStatus wait to waiting 2018-01-27 14:57:15 -07:00
Blake Kostner f6955298ff add getWaiting function to queue 2018-01-27 13:38:31 -07:00
Blake Kostner 2409f1b11f update bull pause and resume params 2018-01-27 13:26:13 -07:00