Commit Graph

47749 Commits

Author SHA1 Message Date
Andy
b40bf4d545 react-bootstrap: Set TS version to 2.8 (#27266)
* react-bootstrap: Set TS version to 2.8

* Remove unused dependency
2018-07-13 12:58:52 -07:00
Sorin Sandru
564b0ff631 Add types for winston-mail (#27128)
* Add types for winston-mail

* added winston dependency

Created a package.json file with winston dependency

* Changed dependency in package.json

Changed dependency in package.json to winston  2.3.9 and higher.
2018-07-13 12:47:26 -07:00
Marlon Chatman
877ced9c4b Add Antlr4 Definitions/Types (#27120)
* Add antlr4 definitions/types

* Update the tsconfig.json for the antlr4 types

* Update the tsconfig.json for the antlr4 types. Use files instead of includes.

* Remove antlr4-test.ts to antlr4-tests.ts, for the antlr4 types

* Remove the c-parser.ts, for the antlr4 types. As this is not allowed in the antlr4-test.ts

* Fix antlr4 types test lint failure

* Update the linting and the tslint.json

* Update the tslint.json, for antlr4 types
2018-07-13 12:46:40 -07:00
Jiayu Liu
97b3f510e6 fix travis build by upgrading typescript version of (#27244)
amqp-connection-manager
2018-07-13 08:42:09 -07:00
Steven Zeck
8ba2ecb239 New package: yargs-interactive (#27155)
* Add typings for yargs-interactive

* Use require to import yargs-interactive in test
2018-07-12 11:12:45 -07:00
Karol Majewski
5f9ef82a75 [pluralize] Prevent using the library without having imported it (#27064)
* Do not pollute the global namespace

* Treat the library as an UMD module
2018-07-12 11:12:05 -07:00
小池貴之
c34089973b Typo fix (#27093) 2018-07-12 10:07:17 -07:00
David Khourshid
f86bf736ea Update index.d.ts (#27103)
Type definitions missing for `dissocIn` and `unsetIn`
2018-07-12 10:06:40 -07:00
ZSkycat
ba3048433e [webpack-serve] update to version 2.0.0 (#27173)
* [webpack-serve] create a new subfolder with the v1

* [webpack-serve] update to version 2.0.0

* [webpack-serve] add the correct path mapping for the v1
2018-07-12 10:05:31 -07:00
Jin Shin
7f9d41cfbb @types/react-native-touch-id: Updated the module to version 4.0.2, adding new config option (#27007)
* Updated the module to version 4.0.2

* Updated Contributor name

* Fix header
2018-07-12 10:03:53 -07:00
Edward Sammut Alessi
4a4db6d249 Typings for apollo-upload-client (#27094)
* Typings for apollo-upload-client

* Update package.json

* Triggering build
2018-07-12 10:00:16 -07:00
kenjiru
fb6990cd4d [backbone] Update the options for Collection.fetch (#27123) 2018-07-12 09:54:00 -07:00
Paul Melnikow
928337ff78 recharts: Document presentation attrs in Label (#27092)
* recharts: Document presentation attrs in Label

* Add a test
2018-07-12 09:49:52 -07:00
Sean Genabe
6994703ab6 Add typings for common-prefix (#27195) 2018-07-12 09:47:45 -07:00
Jiayu Liu
bf441f07a9 Add @tinajs/tina (#27191)
- [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`.)
- [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).
- [x] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [x] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [x] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [x] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.
2018-07-12 09:40:09 -07:00
Konstantin Simon Maria Möllers
47af8e9886 [ecma-proposal-math-extensions] Add typings (#27187) 2018-07-12 09:39:05 -07:00
Rogier Schouten
2d845a15d2 add typings for amqp-connection-manager (#27217) 2018-07-12 09:34:45 -07:00
Rui Ferreira
2685ce39f2 TS definitions for keen-tracking (#27225)
* TS definitions for keen-tracking:
 - recordEvent()
 - recordEvents()

* keen-tracking: add optional param requestType to constructor.
2018-07-12 09:31:58 -07:00
Ullrich Schäfer
35835aa275 [react-navigation] Adding support for parameters in NavigationInjectedProps (#27226)
* Adding a failing test for getParam

This demonstrates that typing of `navigation.getParam` works when a parameter type is provided.

This fails with the following error:

```
ERROR: 559:54  expect  TypeScript@next compile error:
Argument of type '"title"' is not assignable to parameter of type '"unknown"'.
```

* Making test pass
2018-07-12 09:30:10 -07:00
WEBER Logan
0db033ec96 fix(serialport): missing includeDelimiter option for delimiter parser (#27222)
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`.)
- [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://node-serialport.github.io/utilities/parser-delimiter_delimiter.js.html
- [ ] 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" }`.
2018-07-12 09:26:49 -07:00
ikokostya
5831bb2199 [got] Body type must be an object in GotJSONOptions (#27168)
* Revert "[got] Allow primitive types in JSON body for POST requests (#27109)"

This reverts commit 03eede6951.

* [got] Add link to issue with json body type

* Improve comment
2018-07-12 09:25:37 -07:00
Benedict Etzel
251bfc8c1a [react-i18next] Update for 7.8.0 (#27186)
* react-i18next: Support ReactNode parents in Trans

* react-i18next: Support defaults-style Trans for 7.8.0
2018-07-12 09:25:00 -07:00
Alejandro Pérez Batanero
532aedc04d Add ignoreUnavailable param to delete indices (#27215) 2018-07-12 09:24:20 -07:00
segayuu
1a07f27101 [@types/Bluebird] Make iterative methods rigid types without type parameters. (#27216)
* Resolve bluebird(Array) method

* upgrade typescript version from bluebird-global

* move testfile
Reason: There are too many type definition files
  depending on jquery and it can not be managed.

* upgrade typescript version from bluebird require packages

* fix lint error: use-default-type-parameter
2018-07-12 09:23:46 -07:00
James Greenaway
e8dcdd9186 Use ComponentType rather than ComponentClass in grid-styled definitions (#27192)
* Use ComponentType rather than ComponentClass

Update grid-styled BoxProps to accept React component classes or stateless functions

* Increment version number

* Fix missed type
2018-07-12 09:22:25 -07:00
Tyler Jones
8a4fefd543 Stripe card's cardholder name can be null (#27206)
See example response in https://stripe.com/docs/api#retrieve_card
2018-07-12 09:21:53 -07:00
Orta
d18f6afc20 Merge pull request #27221 from alloy/add-args-to-react-tracking
[react-tracking] The callback variant also passes arguments.
2018-07-12 15:03:29 +01:00
Eloy Durán
9b620df22c [react-tracking] The callback variant also passes arguments. 2018-07-12 15:46:13 +02:00
John Reilly
d360bc9e00 Added johnnyreilly to webpack related definitions to speed reviewing up (#27218) 2018-07-12 13:25:20 +01:00
Emilio Martinez
bcb71bbf29 feat(webpack): fill Compiler- and Compilation-related fs types (#27117)
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`.)
- [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: (See bottom of description)
- [X] 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" }`.

---

Changes in this PR are related to a few Webpack Compiler and Compilation properties.

Adds definitions for following file timestamp properties:
* `Compiler.fileTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compiler.js#L138.
* `Compiler.contextTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compiler.js#L140.
* `Compilation.fileTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compilation.js#L467.
* `Compilation.contextTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compilation.js#L469.

Adds definitions for the following file system properties:
* `Compiler.inputFileSystem` — Roughly a subset of `fs` read features.
  See https://github.com/webpack/enhanced-resolve/blob/v4.1.0/lib/NodeJsInputFileSystem.js and https://github.com/webpack/memory-fs/blob/v0.4.1/lib/MemoryFileSystem.js.
* `Compiler.outputFileSystem` — Roughly a subset of `fs` output features.
  See https://github.com/webpack/webpack/blob/v4.15.1/lib/node/NodeOutputFileSystem.js#L9:7.

Both file system properties above, while initialized as `null`, have their value set almost immediately right after by Webpack, making them generally not `null` by the time the Compiler can be accessed. See https://github.com/webpack/webpack/blob/master/lib/webpack.js#L34.
2018-07-12 00:52:43 -07:00
Daniel Zlotin
94a86215f3 react-native-navigation v2.x.x is fully TypeScript (#27202) 2018-07-12 00:52:09 -07:00
Alexander T
fe5462429b Add textTransform style prop (#27210) 2018-07-12 00:51:35 -07:00
robmandoe
3a82a6c232 add enableRetinaScaling to StaticCanvas options (#27208)
enableRetinaScaling was missing from the StaticCanvas options. We need this option for our project to compile without errors and function properly.
2018-07-12 00:50:51 -07:00
Felipe Vaz
b9edcc9c51 Added two missing props sortColumn and sortDirection (#27197) 2018-07-12 00:50:37 -07:00
Andy
dfe05a96d6 @types/jest: toMatchSnapshot updated for property matchers (#27170) 2018-07-12 00:49:45 -07:00
Tyler Jones
d9bf730cb2 Update stripe Card's object to be typed with 'card' string literal (#27199)
This allows differentiating between a BankAccount and Card payment method
when using type unions, which are leveraged by the stripe typings.

See https://stripe.com/docs/api#card_object-object
2018-07-12 00:49:11 -07:00
Brendan Forster
fdaf4dada6 [electron-packager] v12 introduces a promise-based API to deprecate using callbacks (#27200)
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`.)
- [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: 
  - Docs: a43c90ca9d/docs/api.md
  - Commit: a43c90ca9d (diff-0f426376b964e609c5c4618eb8bed3b2)
- [x] 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" }`.~~
2018-07-12 00:48:42 -07:00
Amardeepsingh
ef67b11c63 added null to possible return types for get method in url-search-params (#27183) 2018-07-12 00:47:49 -07:00
Andrew Moss
c61b1db6eb lolex: Fix install() method parameters (#27193)
lolex.install() can take a Date or a number (see https://github.com/sinonjs/lolex#var-clock--lolexinstallconfig)

- [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`.)
- [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).

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/sinonjs/lolex#var-clock--lolexinstallconfig
- [x] 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-12 00:47:06 -07:00
SebasWebDev
d06c96e1d2 @types/paper | Added missing method in Group.hitTestAll (#27189)
* @types/paper | Added missing method in Group.hitTestAll http://paperjs.org/reference/group/#hittestall-point

* @types/paper | Added name in 'Definitions by' section in header
2018-07-12 00:46:34 -07:00
MBillemaz
a49828a775 Add properties to react-widgets/DropdownList (#27042)
* Add properties to react-widgets/DropdownList

* Add createOption message on DropdownListMessages
2018-07-12 00:46:06 -07:00
Jared Meek
4f0cd5c74a add typings for custom logger support (#27102) 2018-07-12 00:44:37 -07:00
Klaus Sevensleeper
5fe390b1fa [joi] Add missing type to ObjectSchema::pattern() (#27152)
* added missing type to ObjectSchema::pattern()

* changed version as requested by reviewer
2018-07-12 00:44:11 -07:00
Piotr Musiał
d13bcd1497 Add export of ScrollbarPresenceParams (#27162) 2018-07-12 00:43:31 -07:00
Daniel Cassidy
a6c82d0c3f [domready] Update to 1.0, apply lint rules, fix common mistakes (#27181)
* Apply standard lint rules to domready.

* Apply strict null checks to domready.

* Return value of callback is not used so declare it void.

* Set domready version number.

domready types are up to date as of domready 1.0.8.
2018-07-12 00:43:15 -07:00
Alex Jerabek
fdcf675966 [office-js] Adding conversationID descriptions to Message subclasses (#27157)
* Adding conversationID descriptions to Message subclasses

* Fixing spelling
2018-07-12 00:42:49 -07:00
Elizabeth Samuel
564afc514b office.js: add important note for auth.getaccesstokenasync (#27196) 2018-07-12 00:41:46 -07:00
Cerberuser
f50cf7b56f Cytoscape: animation fixes, layout interface usage (#27209) 2018-07-12 00:41:20 -07:00
Michael Ferris
981fcd2f64 yargs (#27171)
Add `hide` method according to http://yargs.js.org/docs/#api-hidekey
Add `showhidden` method according to http://yargs.js.org/docs/#api-showhidden
2018-07-10 16:20:25 -07:00
kukiel
375fd64a08 Mapbox popup className option (#27068)
* added mapbox-gl popup className option

* added mapbox-gl popup className option test
2018-07-10 09:51:34 -07:00