Commit Graph
40681 Commits
Author SHA1 Message Date
Kai RuhnauandSheetal Nandi d6cddb2fb3 [d3-shape] padAngle for arcs is optional (#23294) 2018-02-01 09:13:38 -08:00
Dmitriy SerdtsevandSheetal Nandi df1b55d514 [react-infinite] fix TS2497 (#23285)
* Corrected exports in react-infinite d.ts

* Added test for react-infinite
2018-02-01 09:12:52 -08:00
AlexanderandSheetal Nandi 58c71e014c [cleave.js] Add missing type for htmlRef prop (#23244)
* Add missing prop type htmlRef for cleave.js

* bump version of type definitions for cleave.js after type adding
2018-02-01 09:12:09 -08:00
ZheyangSongandSheetal Nandi 7d60dd66ed Fix Ill-defined Definitions of Class/Interface (#23222)
* Fix Ill-defined Definitions of Class/Interface

+ The Label was ill-defined and didn't reflect the latest implementation
+ NOTE: this will cause breaking changes for any project that consumes the Label.
  + The `Label` is redefined as the concrete class so that *<Label />* can be used in JSX
  + The `LabelProps` is redefined as what old interface `Label` was.

* PR Updates

+ remove undocumented static methods.

* + Update recharts-tests.tsx

* + Remove unused type `parseViewBoxArgs`
2018-02-01 09:10:09 -08:00
Tomas CarneckyandSheetal Nandi aff3a0476b Type definitions for catalog (2.x) (#23276)
* Type definitions for catalog

* Add catalog tests

* catalog: add responsiveSizes to Config

* catalog: remove empty rules block from tslint.json

* catalog: add responsive prop to ReactSpecimen
2018-02-01 09:05:59 -08:00
Andrew CritesandSheetal Nandi fcc0c74677 Blessed Program class types (#23327)
* blessed: add program export

* blessed: Adding types for Program.

Attempted to include all functions for the Program class. I excluded the psuedo-private functions starting with _.

Most functions write to a writeable stream and call the write() function internally which returns a boolean.

* blessed: Adding types test and program properties
2018-02-01 09:02:55 -08:00
Eloy DuránandGitHub bd2e7ac7d1 Merge pull request #23325 from npirotte/react-relay/improve-props
react-relay - improve props and relay variables typing
2018-02-01 11:48:16 -05:00
Nathan Shively-SandersandGitHub 715d56ce22 Merge pull request #23331 from DefinitelyTyped/shelljs-test-string-literals
shelljs.test uses string literals for option param
2018-02-01 08:12:59 -08:00
Nathan Shively-Sanders e6b57c0497 Create a TestOptions type for test's options 2018-02-01 08:04:55 -08:00
Nicolas Pirotte 2a776fbffe (react-relay) Adds default type for RelayProp 2018-02-01 16:10:35 +01:00
Matt R. WilsonandSheetal Nandi a436740d5d [@types/request-promise-native] Add transform2xxOnly option. (#23328) 2018-01-31 17:29:03 -08:00
Nathan Shively-Sanders db1ca04de3 shelljs.test uses string literals for option param
Previously it was just string, which makes it hard to know which options
are available.
2018-01-31 15:31:48 -08:00
Hugues StefanskiandSheetal Nandi 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 DolzhykovandSheetal Nandi 50ae629d0c AngularJS: rename confusing identifiers in tests (#23314) 2018-01-31 14:44:50 -08:00
amandSheetal Nandi 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 BurkowandSheetal Nandi 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
Nicolas Pirotte 744a850260 (react-relay) Add maintainer 2018-01-31 22:24:48 +01:00
Nicolas Pirotte 8511d08403 (react-relay) Fix lint 2018-01-31 22:22:32 +01:00
Nicolas Pirotte bfbe49bbdd (react-relay) Add RelayProps interface 2018-01-31 22:14:56 +01:00
WillandSheetal Nandi 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
Nicolas Pirotte 8c3dcbe39c (relay-classic) Adds RelayProps variables typing 2018-01-31 22:08:48 +01:00
Wenchen LiandSheetal Nandi 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ácsandSheetal Nandi 00aad235f1 Add types for jquery-awesome-cursor (#23311) 2018-01-31 12:40:26 -08:00
Anderson FriaçaandSheetal Nandi 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 AshandSheetal Nandi 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çaandSheetal Nandi 0db2724abb Adding missing type on jquery-mask-plugin (#23304) 2018-01-31 12:35:04 -08:00
Gustavo HenkeandSheetal Nandi 99614fa920 @storybook/addon-knobs: add button() knob (#23302) 2018-01-31 12:33:33 -08:00
PkthunderandSheetal Nandi 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
x22x22andSheetal Nandi 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 GoldbergandSheetal Nandi 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'AlvaandSheetal Nandi f720993a03 @types/zeromq - Update monitor function by adding numOfEvents parameter (#23295) 2018-01-31 12:30:44 -08:00
ArtworkADandSheetal Nandi 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 KellerandSheetal Nandi c08ff42c62 Add types for ed2curve (#23286) 2018-01-31 12:23:00 -08:00
MykolaandSheetal Nandi cd92f62f15 Fix typo (#23277) 2018-01-31 12:20:20 -08:00
Tomek ŁaziukandSheetal Nandi 5f07b0f39b [react-loadable] ability to import types which were unavailable (#23218)
* import/export

* contributors

* fix namespace
2018-01-31 12:15:55 -08:00
JRandSheetal Nandi 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 ZhouandSheetal Nandi 5af4ae7bf0 kafka-node: fix message value to be string or Buffer (#23201) 2018-01-31 12:04:27 -08:00
Eloy DuránandGitHub 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ädlingerandSheetal Nandi 014b08e593 IntlProvider add initialNow prop (#23246) 2018-01-30 13:10:24 -08:00
Philip BulleyandSheetal Nandi 49d9ce7039 Adds support for any property to TweenConfig (#23290) 2018-01-30 11:59:52 -08:00
vlascikandSheetal Nandi ed1e090ecf Name default exports to help with auto-imports (#23287) 2018-01-30 11:50:19 -08:00
Pierantonio CangianielloandSheetal Nandi 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 ShulgaandSheetal Nandi 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 StevensonandSheetal Nandi 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 SuppakityothinandSheetal Nandi 97bc67099c Add "namespace" attribute to options interface (#23280) 2018-01-30 11:33:47 -08:00
dhermanandSheetal Nandi d337ba060d add missing multiple property to the Request class (#23274) 2018-01-30 11:32:09 -08:00
Phạm Dương Nhật NamandSheetal Nandi 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 DeppenandSheetal Nandi 1748b088ab Allow resolveWeak to return a string (#23270)
Handles cases where module ids are hashed.
2018-01-30 11:27:04 -08:00
LachlanStuartandSheetal Nandi 4c1b2958ab add types for promise-queue (#23267) 2018-01-30 11:23:31 -08:00