Commit Graph
40624 Commits
Author SHA1 Message Date
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
Art 1248e5a0b1 Add: cross-spawn types (#23228)
* cross-spawn types

* Add @inheritDoc annotation for IDEs that require it

* Add sync methods

* simplify typings

* rm namespace comment
2018-01-27 11:31:13 -08:00
epicgirl1998 abdde3dd37 chrome: add cssOrigin to tabs.InjectDetails (#23224) 2018-01-27 10:32:32 -08:00
Wichert Akkerman 4f48e84297 Add defaultTransParent to react options. (#23109) 2018-01-27 10:32:13 -08:00
James W. Lane III 0fd670e690 Updated types for color 3.0.0 (#23205)
* Updated for color 3.0.0

* Updated tsconfig.json

* Updated tsconfig.json attempt 2
2018-01-27 10:28:01 -08:00
Andy 745420a23e lodash: Work with classic module resolution (#23198) 2018-01-26 13:33:19 -08:00
Art ccdc539cc4 Add: Mongoose 5 types (#23070)
* move v4 types

* add newline-per-chained-call tslint rule to avoi having to refactor the entire test file

* mongoose 5 types

* update SchemaToObjectOptions

* reuse toObject definition, add it to schema options, remove retainKeyOrder

* add paths to mongoose-deep-populate

* rm a no longer supported createConnection signature

* Object -> any @ mongoose 4

* object ->any @ mongoose 5

* rm todo comment

* rm Mongoose thenable type

* Add changes between 4.7 and 5.0

* Add path to mongoose/v4 to all dependent projects

* fix dropDatabase() brainfart.

* Add more missing methods

* rm newline-chained-call rule from tslint

* Revert "Add path to mongoose/v4 to all dependent projects"

This reverts commit 162b8ad
2018-01-26 13:32:00 -08:00
Yao 831b49efaf @types/quixote - make attributes in ElementDescriptor optional (#23089)
When do assertion, you need not to provide all options
somethings like 
```
        button.assert({
            width: container.width
        } );
```
is also ok from official doc.
2018-01-26 09:16:06 -08:00
Kyle Pittman c4608b1b7c Update interface Env.beforeEach/All and Env.afterEach/All (#23133)
Updates the signatures for `interface Env` before/after/each/all functions to match their global partners. See lines 50-73.
2018-01-26 09:15:04 -08:00
Tiger Oakes 29d9e1b3b4 Fabric.js: Replaced some any types, fixed subclass return types, fixed #15811 (#23113)
* Adjusted fabric.Object so that chainable methods return superclass type instead of fabric.Object.

Also changed type of propertiesToInclude to string[] instead of any[]. Other methods related to props, such as `get()`, refer to properties as strings.

* Small tweaks to types
setBackgroundImage can omit callback
cornerStrokeColor is a property on object
rotateVector and qrDecompose are misc util functions

* Changed parameter types to be more precise. Used mapped types in get/set to enforce correct corresponding types

* Renamed non-existent classes and replaced with correct fabric classes

* Changed to pass linter
2018-01-26 09:14:40 -08:00
Flarna b064f807f7 [node] Add Api changes for 9.4.0 (#23039)
* [node] add writable.writableLength and readable.readableLength to stream

* [node] allow DataView and ArrayBuffer for zlib apis

* [node] add EventEmitter.rawListeners()

* [pty.js] Remove implements stream.Stream as Terminal implements only parts of it

* [node] update version to 9.4.0
2018-01-26 09:11:51 -08:00
Larry Faudree Jr ea4334a941 Update/auth0-lock: Add checkbox support for signup fields (#23182)
* updated index.d.ts and added passing test

* add union of types for signupfields
2018-01-26 09:09:35 -08:00
Sergey Rubanov 18c1596bad [chart.js] Add missing legend label configuration options (#23157) 2018-01-26 09:08:30 -08:00
HyunSeob 0514c038e2 Add typings for @storybook/addon-a11y (#23210) 2018-01-26 09:07:34 -08:00
gcottrell1 7470a4310e Update types for React-Native-Video to allow passing of error and data objects to onError and onLoad callbacks respectively (#23209)
* Add types for onLoad and onError

* Clean up and add tests
2018-01-26 09:06:59 -08:00
smhxx 417ea06896 atom: add PackageManager.deactivatePackage() method (#23208) 2018-01-26 09:06:08 -08:00
Resi Respati 1be865457a [screeps] update to version 2.2.0 (#23204) 2018-01-26 09:05:23 -08:00