Commit Graph
40666 Commits
Author SHA1 Message Date
Matt R. Wilson a436740d5d [@types/request-promise-native] Add transform2xxOnly option. (#23328) 2018-01-31 17:29:03 -08:00
Hugues Stefanski 3c357a1ccf Add types for [d3-fetch](https://github.com/d3/d3-fetch) (#23324)
* Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight methods

* Fix asterisk position

* Missing space

* Added spacing between methods

* Added tests for d3-geo `fitHeight` and `fitWidth`

* Backbone for d3-fetch

* Completed fetch API

* Strong typings of parsing methods

* Partial d3-fetch tests

* Completed tests for d3-fetch

* Reste library to es6 in d3-fetch

* Fix linting errors

* tentative fix TS 2.1

* Specific types for d3-fetch

* Fix test on d3-fetch

* Removed generic used only once for json function in d3-fetch

* Fix d3-fetch test
2018-01-31 14:45:59 -08:00
Georgii Dolzhykov 50ae629d0c AngularJS: rename confusing identifiers in tests (#23314) 2018-01-31 14:44:50 -08:00
am 366d972db4 [adone] refactoring, fixes (#23321)
* refactoring, fixes
* add sprintf
* [assertion] replace assert properties with methods
* [assertion] is* -> *
* [data.json] add newline opt for encode
* [data.mpak] add tryDecode, add constructor opt for Serializer, add registerCommonTypesFor function
* [data.base64] add encoding param for decode
* [stream] make core a namespace, stream.core() -> core.create(), stream.CoreStream -> stream.core.Stream
* [fs] add readlinkSync, utimes, utimesSync, utimesMillis, readdirp, appendFIleSync, rmEmpty
* [fs] remove fd namespace, put everything into fs
* [fs] add mkdirSync, mkdirp, mkdirpSync
* [fs] fix copy, add copyTo
* [fs] pos options for tail
* [is] add type guards
* [promise] add props, retry
* [shani] add todo for it/describe
* [utils] remove mapArguments, functionParams, by, stripBom, GlobExp, sqlstring.(arrayToList, bufferToString objectToValues), buffer.(concat, mask, unmask), userid
* [utils] fix toposort, class ReInterval -> function reinterval, move throttle into its own namespace and add options, move RateLimiter to throttle
* [utils] add buffer.toArrayBuffer, buffer.xor, arrayDiff, fillRange, inflection, merge, omit, parseTime, pick, querystring, regexNot, repeat, signalNameToCode, splitBuffer, splitString, toRegex, xorDistance, braces, match

* event.EventEmitter -> event.Emitter
2018-01-31 14:44:14 -08:00
Aleksander Vognild Burkow 83b24fbabb Add onPressDate, onPressCancel methods to DatePicker class (#23313)
These two methods are available on instances and documented at the
bottom of the README.md here:
https://github.com/xgfe/react-native-datepicker#instance-methods.
2018-01-31 14:40:51 -08:00
Will ab5329620a [@types/mocha] Populated members in IRunner, factored Reporter Stats object (#23119)
* [@types/mocha] Populated members in IRunner, factored Reporter `Stats` object

* Added `run` method

* Callback function passed to `run` should have been optional

* Changed optional properties to shorthand `?` syntax
2018-01-31 13:13:43 -08:00
Wenchen Li 0efc1b6933 Make videoId optional in PlayerOptions (#23315)
It could be optional based on the "Example 1: Use API with existing <iframe>" here:
https://developers.google.com/youtube/iframe_api_reference#Examples
2018-01-31 12:42:11 -08:00
Zsolt Kovács 00aad235f1 Add types for jquery-awesome-cursor (#23311) 2018-01-31 12:40:26 -08:00
Anderson Friaça 0b755d302f Types for bootstrap-growl-ifightcrime (#23308)
* Types for bootstrap-growl-ifightcrime

* necessary adjustments

* Adding types for values
2018-01-31 12:38:12 -08:00
Oliver Joseph Ash 962a9ec919 Lodash: zip: add undefined to return values (#23305)
* Lodash: `zip`: add undefined to return values

* Lodash: `zip`: correct generic typo

* Lodash: `zip`: add undefined to return values for other overloads

* Lodash: `zip`: use `` for tests
2018-01-31 12:35:27 -08:00
Anderson Friaça 0db2724abb Adding missing type on jquery-mask-plugin (#23304) 2018-01-31 12:35:04 -08:00
Gustavo Henke 99614fa920 @storybook/addon-knobs: add button() knob (#23302) 2018-01-31 12:33:33 -08:00
Pkthunder 1d7a6e1f41 Update index.d.ts (#23301)
see paper.js docs:
http://paperjs.org/reference/project/#addlayer-layer
http://paperjs.org/reference/project/#insertlayer-index-item
2018-01-31 12:32:52 -08:00
x22x22 97e14b8a81 [node-forge]add forge.pki.createCertificate() and supplement interface Certificate (#23298)
* add forge.pki.createCertificate()

add forge.pki.createCertificate()

* [node-forge]add forge.pki.createCertificate() and supplement interface Certificate

[node-forge]add forge.pki.createCertificate() and supplement interface Certificate

- [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.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/x22x22/forge/blob/74b7472b2143735fca0c68a7f20ba32c4fbd5397/lib/x509.js#L910
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

* [node-forge]add forge.pki.createCertificate() and supplement interface Certificate

[node-forge]add forge.pki.createCertificate() and supplement interface Certificate

- [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.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/x22x22/forge/blob/74b7472b2143735fca0c68a7f20ba32c4fbd5397/lib/x509.js#L910
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

* [node-forge]add forge.pki.createCertificate() and supplement interface Certificate

[node-forge]add forge.pki.createCertificate() and supplement interface Certificate

* [node-forge]add forge.pki.createCertificate() and supplement interface Certificate

[node-forge]add forge.pki.createCertificate() and supplement interface Certificate
2018-01-31 12:32:06 -08:00
Josh Goldberg 63cf738f9b React typings typo: it's vs its (#23296)
"its" as the plural, not "it's" as "it is".
2018-01-31 12:31:13 -08:00
Philippe D'Alva f720993a03 @types/zeromq - Update monitor function by adding numOfEvents parameter (#23295) 2018-01-31 12:30:44 -08:00
ArtworkAD 2b7d8a255e [qrcode]improve types of qrcode@1.2.0 (#23289)
* [qrcode]improve types of qrcode@1.2.0

Add toDataURL with promise as response

* [qrcode]improve types of qrcode@1.2.0

- add similar methods for toCanvas
- method with short signature comes before method with long signature

* [qrcode]improve types of qrcode@1.2.0

- toFile promise
- toFileStream promise
- toString promise
2018-01-31 12:25:06 -08:00
Florian Keller c08ff42c62 Add types for ed2curve (#23286) 2018-01-31 12:23:00 -08:00
Mykola cd92f62f15 Fix typo (#23277) 2018-01-31 12:20:20 -08:00
Tomek Łaziuk 5f07b0f39b [react-loadable] ability to import types which were unavailable (#23218)
* import/export

* contributors

* fix namespace
2018-01-31 12:15:55 -08:00
JR c8e5d4efd9 Update index.d.ts (#23216)
Added optional className prop on `ReduxToastrProps` to support https://github.com/diegoddox/react-redux-toastr/issues/103
2018-01-31 12:11:16 -08:00
Yoyo Zhou 5af4ae7bf0 kafka-node: fix message value to be string or Buffer (#23201) 2018-01-31 12:04:27 -08:00
Eloy Durán 2b3d24374f Merge pull request #23316 from esam091/react-native-textalign-justify
[react-native] Add "justify" option to TextStyle
2018-01-31 14:51:28 -05:00
Samuel Edwin 73e70076ff Add justify option to TextStyle 2018-01-31 23:50:38 +07:00
Martin Rädlinger 014b08e593 IntlProvider add initialNow prop (#23246) 2018-01-30 13:10:24 -08:00
Philip Bulley 49d9ce7039 Adds support for any property to TweenConfig (#23290) 2018-01-30 11:59:52 -08:00
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