Commit Graph
40609 Commits
Author SHA1 Message Date
Stephen WilcoxandSheetal Nandi 48d55d55fa Update chai-string definitions for 1.4.0 (#23118) 2018-01-29 12:15:27 -08:00
Georgii DolzhykovandSheetal Nandi 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 PrestonandSheetal Nandi 3c02bc73f8 [gulp-nodemon] Adding args, nodeArgs, scriptPosition to Options (#23096) 2018-01-29 12:06:10 -08:00
Punit GuptaandSheetal Nandi 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. WilsonandSheetal Nandi 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 CavanaughandSheetal Nandi 175b31c5dc Fix spelling of "enableTouchControl" (#23261)
Fixes #23259
2018-01-29 11:45:54 -08:00
Thea LanherneandSheetal Nandi 9c90ba4143 Add missing drawerBackgroundColor prop to react-navigation DrawerNavigatorConfig (#23255) 2018-01-29 11:45:09 -08:00
Andy PattersonandSheetal Nandi cedbc9ed4d Use NodeRequire as callback parameter type (#23254) 2018-01-29 11:44:50 -08:00
woutervh-andSheetal Nandi bb7103dc31 Added missing FeatureCollection type field (#23249) 2018-01-29 11:44:42 -08:00
KoalaHumanandSheetal Nandi 71d5025d76 [react-datepicker] updated typings for 1.1.0 (#23247) 2018-01-29 11:44:02 -08:00
Jan Franciszek CieslakandSheetal Nandi a28ebd0744 missing arg for marksAcross($end) (#23242) 2018-01-29 11:41:31 -08:00
bruce-lindsayandSheetal Nandi 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 NizetandSheetal Nandi 6247574fa6 luxon: add changes introduced in versions 0.3.1 and 0.4.0 (#23235) 2018-01-29 11:35:41 -08:00
AJ RichardsonandSheetal Nandi 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 LohageandSheetal Nandi 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
AhnandSheetal Nandi f08ec1c02f Remove global spyOn, pending, fail (#23226) 2018-01-29 11:28:32 -08:00
Eloy DuránandGitHub 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
benstevens48andAndy 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
ArtandAndy 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
epicgirl1998andAndy abdde3dd37 chrome: add cssOrigin to tabs.InjectDetails (#23224) 2018-01-27 10:32:32 -08:00
Wichert AkkermanandAndy 4f48e84297 Add defaultTransParent to react options. (#23109) 2018-01-27 10:32:13 -08:00
James W. Lane IIIandAndy 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
AndyandGitHub 745420a23e lodash: Work with classic module resolution (#23198) 2018-01-26 13:33:19 -08:00
ArtandAndy 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
YaoandAndy 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 PittmanandAndy 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 OakesandAndy 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
FlarnaandAndy 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 JrandAndy 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 RubanovandAndy 18c1596bad [chart.js] Add missing legend label configuration options (#23157) 2018-01-26 09:08:30 -08:00
HyunSeobandAndy 0514c038e2 Add typings for @storybook/addon-a11y (#23210) 2018-01-26 09:07:34 -08:00
gcottrell1andAndy 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
smhxxandAndy 417ea06896 atom: add PackageManager.deactivatePackage() method (#23208) 2018-01-26 09:06:08 -08:00
Resi RespatiandAndy 1be865457a [screeps] update to version 2.2.0 (#23204) 2018-01-26 09:05:23 -08:00
Matthias DaileyandAndy 27d3a88ae3 Object3D updates (#23203)
* Object3D updates

* Fix tests referring to old `shading` property.
2018-01-26 09:04:43 -08:00
Jason WaldripandAndy 56e3995300 Add typings for graphql-iso-date (#23202)
* Create index.d.ts

* Create tsconfig.json

* Update index.d.ts

* add graphql-iso-date types

* fix tests

* add strict function types
2018-01-26 09:03:21 -08:00
Andrew CritesandAndy 00ae13ffe2 blessed: correct some typining issues (#23200)
* Screen debug option is a boolean. The class itself also has a method called debug.
* Screen spawn arguments and options parameters are optional
2018-01-26 09:02:44 -08:00
David SkxandAndy be5cb7d731 feat: add react-select props for v1.2.1 (#23213)
* feat: add props for v1.2.1

* fix: linter issues
2018-01-26 09:01:58 -08:00
Oliver Joseph AshandAndy 39150f4ac8 webpack: WatchOptions.ignored accepts string[] (#23214)
https://webpack.js.org/configuration/watch/#watchoptions-ignored
https://github.com/micromatch/anymatch
2018-01-26 09:01:36 -08:00
Liad IdanandAndy 20122e2888 Add missing property to Pickadate (#23217)
* Add missing property to Pickadate

Add `weekdaysLetter` property to Pickadate.DateOptions
https://github.com/Dogfalo/materialize/blob/6da429c5972c90e386e34f14bed3f17c8c40fa95/dist/js/materialize.js#L5905

* Update index.d.ts
2018-01-26 09:00:57 -08:00
Kræn HansenandAndy 5011030133 Renaming Input's size property to bsSize (#23219)
See
https://github.com/reactstrap/reactstrap/commit/cc2bd1386fbcaf20ad18ab9437a84ced1879d25e
2018-01-26 09:00:34 -08:00
Eugene RodinandAndy b66d7c92ce Added definitions for react-dynamic-number npm package (#23165)
* feat(ReactDynamicNumber): added definitions for RDN

* feat(ReactDynamicNumber): fix validation and linter

* feat(ReactDynamicNumber): PR remarks corrected
2018-01-26 08:59:01 -08:00
Matthias DaileyandAndy 45457bbbc9 Add callback to olx.view.FitOptions. (#23199)
* Add `callback` to `olx.view.FitOptions`. See http://openlayers.org/en/latest/apidoc//ol.View.html#fit

* Use existing AnimateCallback type
2018-01-25 13:42:33 -08:00
Jan LohageandAndy 9dec8df964 fix(@feathersjs/various): proper module augmentation, add reexports (#23195)
* fix feathersjs__{authentication-client,express,socket-commons}

* fix feathersjs__authentication-client
2018-01-25 13:41:41 -08:00
dmitryshindinandAndy 5ec69dfcc8 Add width property to tick configuration (#23196) 2018-01-25 10:51:38 -08:00
Gilad GrayandAndy 6361a8f219 update dom4 types for v2.0 (#23178)
* update dom4 types for v2.0

> **New v2:** Both `query` and `queryAll` have been removed, while CSS `:scope` selector has been added.

* spelling
2018-01-25 09:56:18 -08:00
Matthew LefflerandAndy 65e61a6d88 GraphQL: Add schema printer options (#23180)
* Add schema printer options

These were added with https://github.com/graphql/graphql-js/pull/927, RFC: Descriptions as strings.

* Explicitly define allowed printer options
2018-01-25 09:55:38 -08:00
vitalibozhkoandAndy 4ff3b88cee storejs incorrect enabled flag type. (#23181) 2018-01-25 09:54:56 -08:00
Sergei DoroginandAndy d72c2f781d waypoints.jquery: jQuery Adapter of waypoints 4.x (jquery.waypoints) (#23170)
* jQuery Adapter of waypoints 4.x (jquery.waypoints)

waypoints: refactoring of WaypointOptions to allow waypoint.jquery definition (common options extracted into base interface - WaypointOptionsBase)

* waypoints.jquery: set TypeScript version as 2.3

* waypoints.jquery: fixes: context moved to WaypointOptionsJQuery and WaypointOptions; waypoints-jquery-tests.ts renamed to waypoints.jquery-tests.ts

* waypoints.jquery: fixes: removed BOM in waypoints.jquery-tests.ts

* waypoints: waypoints.jquery has been moved into waypoints (as waypoints/jquery.d.ts)

* waypoints: fixes: waypoints-tests.ts: fixed prefer-const  Identifier 'waypoint1' is never reassigned; use 'const' instead of 'let'.
2018-01-25 09:13:42 -08:00