Commit Graph
48094 Commits
Author SHA1 Message Date
Melvin Groenhoff 37ee427df7 Depend on @babel/parser instead of babylon (#27596) 2018-07-30 12:10:18 -07:00
Tomas Brambora bee839cc6d Remove unused template type (#27589) 2018-07-30 12:08:10 -07:00
Jurand Niemczycki f8485f6311 espruino: added boolean to digitalwrite (#27577)
* espruino added type for wifi module for access point

* espruino added myself to definitions

* changed tabsize to 4

* espruino: added boolean to digitalwrite
2018-07-30 12:00:47 -07:00
Resi Respati d738494b08 [next] recover old router events APIs (#27695) 2018-07-30 12:00:41 -07:00
S McDowall d4b5c5d411 Fix problem in definition when passing a function in the origin: option field. (#27576)
* Fixed type for function passing to cors() origin

If you look at the actual code within @koa/cors and where it invokes any passed function within the origin: option, it invokes it with ctx, the standard Koa context, NOT the Request.  Here is the code fragment..

https://github.com/koajs/cors/blob/b5a937fc24666761c61b1ac633f49f54612d1315/index.js#L58

Thus changed the signature of the origin option to reflect this.

* Revert back to single quotes -- stupid prettier

Fixed type for function passing to cors() origin

If you look at the actual code within @koa/cors and where it invokes any passed function within the origin: option, it invokes it with ctx, the standard Koa context, NOT the Request.  Here is the code fragment..

https://github.com/koajs/cors/blob/b5a937fc24666761c61b1ac633f49f54612d1315/index.js#L58

Thus changed the signature of the origin option to reflect this.
2018-07-30 11:59:05 -07:00
Mike North 039caf4113 QUnit assert.step and assert.verifySteps (#27558) 2018-07-30 11:48:14 -07:00
Tim Hwang 7d909e1f56 redux-form: Remove label from Field interface (#27502)
This was added to DefinitelyTyped in PRs #21204 and #24041. However,
both reasons given are incorrect: this prop is indeed featured in the
examples, but only used for a sample component also defined for demo
purposes. `props.label` is not a part of the `redux-form` `<Field/>`
API, and as such shouldn't be included.

One reason is because `props.label` should be up to users to implement.
If a user wants `props.label` to support React nodes instead of just
strings, they can no longer just extend DefinitelyTyped interfaces
because this causes an incompatibility with the set string type.

I realize this change might cause backwards compatibility issues for
users who are already using a `label` prop, as it's a ubiquitous
pattern. Looking for input on how to properly proceed with this. Thanks!

------

Please fill in this template.

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.) *NOTE: I am getting `File name must be camelCase` both before and after my change*
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/erikras/redux-form/blob/master/src/createField.js ctrl-F label; no result
- [ ] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-07-30 11:37:38 -07:00
Roger 8b490c354b Less - add refresh, importManager, sheets, modifyVars callback. (#27443)
* Add refresh method, importManager, sheets and modifyVars method callback.

* Add a few less tests for their new methods.
2018-07-30 11:32:49 -07:00
confususs bbd49ba4ed [backbone.marionette] Added parameter for model to childview function of CollectionView (#27441)
* Added model param to childview function of CollectionView

* Added private property to MyOtherView to ensure type difference
2018-07-30 11:26:04 -07:00
Kris Kalavantavanich 096acdd72f [slack-mock] New typings for slack-mock (#27440)
* Add types for slack-mock

* Add library specific types

* Fix lint

* Reorganize imports
2018-07-30 11:24:58 -07:00
Endurance Idehen 46ef7e1ffc @types/React-Select: Add ability for arrow renderer prop to be set to null (#27342)
* Add ability for arrow renderer prop to be set to null

In this issue, arrow rendering would keep the functionality even if no arrow was being rendered.

The PR below fixed the issue.
https://github.com/JedWatson/react-select/pull/1761

In this PR, the guys added the ability to set the arrowRenderer option to null, which disables all arrow related operation.

The types repo needs to reflect this change.

Thanks!

* Add my name to list
2018-07-30 11:22:32 -07:00
Jiayu Liu 057310a95d addint definitions for @tinajs/tina-redux (#27231) 2018-07-30 11:20:51 -07:00
Romain Faust 16b85f0e2f [@types/gulp-imagemin] Add type definitions (#27692)
* Add koa-router's Router to koa's Context

* [@types/gulp-imagemin] Add type definitions
2018-07-30 11:19:01 -07:00
Vinay Raikar 9e7f1e9d6f Correct the promise resolution type for jobs method (#27649) 2018-07-30 11:11:25 -07:00
slyrz 3e8a84c281 Update API to version 1.6 (#27658) 2018-07-30 11:10:22 -07:00
error 43de02ea1d add bson/Int32 to exports (#27662) 2018-07-30 11:08:07 -07:00
Rinze d0bd4443df Updated sanitize-html type definitions for version 1.18.2 (#27676)
* Updated sanitize-html type definitions for version 1.18.2

* Augemented sanitize-html test file
2018-07-30 11:07:58 -07:00
Paul-Louis HERY 15ec8386fc add params include_user_entities and stringify_ids (#27678) 2018-07-30 11:07:49 -07:00
process-execution 1922994873 Fix Primitive constructor (#27668)
Made shadows property optional in Primitive constructor config object.
2018-07-30 11:06:00 -07:00
lsg-braymon e0bc7a1f62 [@types/ember] Add currentRouteName to Ember RouterService (#27590)
* Add currentRouteName property

* Fix placement of RouterService property. Add test.
2018-07-30 11:05:40 -07:00
Matthew Gabeler-Lee 0dcfb2b483 pino accepts NodeJS.WritableStream streams too (#27635) 2018-07-30 11:04:48 -07:00
Sebastian Silbermann ab5b7b9449 [react-big-calendar] add definitions for header component (#27655) 2018-07-30 11:03:01 -07:00
Mike North ba36179b19 Allow non-factories to be registered with .register (#27661) 2018-07-30 11:02:15 -07:00
Alan Agius 5c0fd82860 stylelint: update to v9.4 (#27659)
* stylelint: update to v9.4

* styleline: add `compact` to `formatters`
2018-07-30 11:02:05 -07:00
Daniel Rosenwasser aa115293b8 Make Props default to never in 'moonjs'. (#27667)
* Make `Props` default to `never` in 'moonjs'.

* Update test for missing props.
2018-07-30 11:00:29 -07:00
Art 0e67e6c782 Add node-zopfli-es types (#27634)
* Add node-zopfli-es types

* Set typescript version

* Replace index.d.ts with actual type definition instead of an export

* Update index.d.ts
2018-07-30 09:35:46 -07:00
Igor Babkin 451ab05774 Remove recalc function (it's private) and add getCentroid() (#27488) 2018-07-30 09:35:06 -07:00
Sosuke Suzuki 3228beff2f Update url-regex for strict option. (#27487)
* Update url-regex/index.d.ts

* Add my name as comment

* Increase the version number

* Remove patch version
2018-07-30 09:34:35 -07:00
Martín (Netux) Rodríguez 8b576a265d simple-oauth2: Update typings to 1.6 and add 2.2 typings (#27458)
* simple-oauth2: updated typings to 1.6 and added v2 (2.2) typings

* simple-oauth2: swapped version folders
2018-07-30 09:33:21 -07:00
James Jensen 439099c83c Added the container property to clipboardjs options. (#27514)
Per https://github.com/zenorocha/clipboard.js/#advanced-options
2018-07-30 09:25:24 -07:00
Ali Mavrakis 7f40149f8d Select2: added nextSearchTerm to Select2Options v3 (#27534) 2018-07-30 09:24:44 -07:00
Simon Werner 6aacac0532 setDefault() actually returns a MomentTimezone object (#27518) 2018-07-30 08:52:05 -07:00
Oliver Joseph Ash b9578b93cb Recompose: fix ...WithConfig module locations (#27530) 2018-07-30 08:50:48 -07:00
Adrien Samson f1fc698b58 Luxon: Interval.set allows partial object (#27526)
* luxon: Interval.set allows partial object

* luxon: fix Interval.merge/xor array notation
2018-07-30 08:49:58 -07:00
Ferdy Budhidharma 3d30be9059 fix(find): fix typos in exported functions (#27538) 2018-07-30 08:47:27 -07:00
bryanjjohnson 34dd46de38 update mapbox-gl typings to 0.47.0 (#27548) 2018-07-30 08:46:35 -07:00
Dmitry Radkovskiy e4902dd43e [web3] Updated web3.utils.toWei() Unit list and added default Unit value (#27528)
* Updated `web3.utils.toWei()` Unit list and added default Unit value

* edit tests for tslint

* web3: reordered ether Unit list to match official docs

* web3 tests improvement
2018-07-30 08:40:28 -07:00
JFGHT fc1247301c Updated Keypair (#27574)
* Updated Keypair

https://stellar.github.io/js-stellar-sdk/Keypair.html#rawPublicKey

* Updated xdr and Transaction

https://github.com/stellar/js-stellar-base/blob/master/src/generated/stellar-xdr_generated.js

* Fixed signatures

signatures is an array of DecoratedSignatures not Signatures
2018-07-30 08:38:45 -07:00
Jason Unger 9079b29eb4 Updates for react-toggle V2 types (#27552)
* Updates for react-toggle V2 types

* Bump minimum TypeScript version

* Fix contributor url formatting
2018-07-30 08:37:42 -07:00
whatasoda 2eda9e3a6f Added declaration of tweetdeck/valiant (#27385)
* Added declaration of tweetdeck/valiant

* fixed version notation and miss typo.
2018-07-27 17:22:02 -07:00
Louis Larry 1a1c9299a6 update aws-lambda cloudfront (#27407) 2018-07-27 17:21:28 -07:00
Ivan Kurnosov 6a9c511193 Replace multiple transition* with a single transition in reactstrap (#27434) 2018-07-27 17:21:06 -07:00
Clément bf1d71284d [auth0-js] Add language value in AuthorizeOptions (#27438)
* Add language value to AuthorizeOptions

* Update test
2018-07-27 17:20:40 -07:00
Simon Trény a5784023cd Add missing useTextureView props (#27439) 2018-07-27 17:20:29 -07:00
Mengjo Rodrick Nfinyoh 62533f9619 UpdateType(mongoose): make plugin function generic (#27456) 2018-07-27 17:19:20 -07:00
David Weinberg fc53fb37ab @types/leaflet: Add property zoomControl to class Map (#27460)
* Add property zoomControl to class Map

Leaflet has a map property called zoomControl. This is useful for setting the position on these controls for the map. This is not available via the typings.

Example usage:

	map.zoomControl.setPosition('topright');

* Leaflet: Map.zoomControl property

Specify Map.zoomControl type more precisely as Control.Zoom
2018-07-27 17:18:00 -07:00
golyalpha 5b715ad1e9 Fix typing error in PolygonGraphics [Cesium] (#27563)
* Fix typing error in PolygonGraphics

The property outlineColor of PolygonGraphics can accept both Property and Color types.
[Discussion on AnalyticalGraphicsInc/cesium](https://github.com/AnalyticalGraphicsInc/cesium/issues/6831)

* Update version

* Removed the Color type from outlineColor typedef.
2018-07-27 17:14:23 -07:00
Michael Lumish fb0db28895 @types/node: add missing properties to Http2Session (#27588)
* node types: add missing properties to Http2Session

Add "connecting" and "ping" properties to Http2Session

* Add NodeJS.TypedArray
2018-07-27 17:13:59 -07:00
Fabio Berta 4483a90ef2 bounds takes object or array for viewport (#27606) 2018-07-27 17:13:09 -07:00
Roman Nuritdinov 8858276e3c Add missing module declarations for storejs (#27601) 2018-07-27 17:12:53 -07:00