Commit Graph
57089 Commits
Author SHA1 Message Date
Pranav Senthilnathan 9efa2dff98 Merge pull request #32552 from kuehlein/node-execFile-options
[@types/node] add definition for child_process.execFile options
2019-01-28 16:31:59 -08:00
Pranav Senthilnathan 970f157288 Merge pull request #32529 from cappellin/master
Add missing definition for writeLong
2019-01-28 16:29:35 -08:00
Pranav Senthilnathan 623d16b2fa Merge pull request #32534 from dolanmiu/feat/export-nodegit
Export RepositoryInitOptions
2019-01-28 16:26:44 -08:00
Pranav Senthilnathan 9f57f5a7fb Merge pull request #32562 from mastermatt/opossum/circuit-shutdown
[@types/opossum] Add new CircuitBreaker.shutdown().
2019-01-28 16:22:40 -08:00
Pranav Senthilnathan 250b046881 @storybook/addon-notes: support global decorator (#32568)
Support the global decorator usage supplied in [the README](https://github.com/storybooks/storybook/blob/9f30442098e5350f5ba4872887cf9d1a03146e74/addons/ondevice-notes/README.md#getting-started)
2019-01-28 16:20:14 -08:00
Patrick Chatain ea2b369907 [Bull] Add missing getJobCountByTypes definition (#32514)
* Add getJobCountByTypes definition

* Update index.d.ts

* getJobCountByTypes types can also be a string
2019-01-28 16:16:21 -08:00
Ryo Ota a345bad39b [multiparty] Add types for multiparty.Form#on() methods and originalFilename renaming (#32440)
* Add types for multiparty.Form#on() methods

* Rename originalFileName to originalFilename
2019-01-28 16:13:40 -08:00
Kosaku Kurino a8f1326ba7 [types/recharts]Add index definitation in PieProps (#32441)
* Add index definitation in PieProps

I can not see the "index" parameter in the document, but it actually exists and I added it for frequent use when creating custom labels.

document
http://recharts.org/en-US/api/Pie

* [types/recharts] add PieLabelRenderProps def

PieLabelRenderProps extends PieProps

* fix error

add semi

* update PieProps labels def

```
label?: {
        offsetRadius: number;
    } | React.ReactElement<any> | ContentRenderer<any> | boolean;
```

to:

```
label?: {
        offsetRadius: number;
    } | React.ReactElement<any> | ContentRenderer<PieLabelRenderProps> | boolean;
```

* fix error

```
label?: {
        offsetRadius: number;
    } | React.ReactElement<any> | ContentRenderer<PieLabelRenderProps> | boolean;
```

to:

```
label?: {
        offsetRadius: number;
    } | React.ReactElement<any> | ContentRenderer<PieLabelRenderProps & any> | boolean;
```

* update PieLabelRenderProps properties

add className

* Edit PieRenderProps

add name to PieLabelRenderProps.
delete className from PieLabelRenderProps.

* Update PieLabelRenderProps

update PieLabelRenderProps' name property

* add parameter to PieLabelRenderProps

add parameter to PieLabelRenderProps
2019-01-28 15:48:52 -08:00
Dale Fenton 2e803abbff Add types for Menu.Divider and Menu.Header (#32299)
* add Menu.Divider and Menu.Header to Menu class

* remove csstype dependency, just grab it from React

* update renderToken prop definition from v3.0 upgrade

* add typings for <Token /> and other exported Components, update tests

* fix labelKey type to only allow for property names of an object where the value is a string

* add ClearButton test
2019-01-28 15:44:17 -08:00
Martin Helmich 7abf322d4e [vis] DataSet.get may return null + type parameter for DataSet.map (#32570) 2019-01-28 15:39:51 -08:00
Igor Goldvekht 42e879f222 [snoowrap] Fix typings for some Promise returning functions (#32505)
* Fix typings for some Promise returning functions

* Add semicolon
2019-01-28 15:20:14 -08:00
AntoineC 4a91c57f19 Add Settings interface (#32352)
Add test for settings on paper and new created PaperScope instance
2019-01-28 15:16:51 -08:00
Borewit 78feba7772 Needle: export NeedleResponse (#32535)
* Export NeedleResponse

* simply 'NeedleResponse' type test, get rid of function
2019-01-28 15:14:15 -08:00
Dan 71bd0ba07b auth0-js - Including optional props AuthorizeOptions - acccessType; approvalPrompt (#32520)
* Including optional properties AuthorizeOptions - acccessType; approvalForce

auth-0.js actually forwards any param you send it (minus a specific black list).
Auth0 Support and Community use these optional params, although they are not specifically called out in the Auth0 API documentation.
Auth0 Support and Community even specify these are needed especially to get Google refresh_tokens (vie email Support Ticket, as well as the Community link below)
https://community.auth0.com/t/cant-get-google-refresh-token-using-auth0-js/11756

* Corrected to use field approvalPrompt

* fixed typo
2019-01-28 15:11:49 -08:00
Benjamin Lichtman ee0aad13bc Merge pull request #32405 from zainafzal08/master
react-json-tree: label render callback has updated calling structure
2019-01-28 13:08:34 -08:00
Zain Afzal 409fc7fb16 Fixed header 2019-01-29 08:02:57 +11:00
Zain Afzal d74ed1acba Make paramaters after keyPath optional 2019-01-29 08:02:50 +11:00
Zain Afzal 18d3e314ea Fixed Label Rendering callback in react-json-tree 2019-01-29 08:02:34 +11:00
Benjamin Lichtman df6714c8fe Merge pull request #32019 from jlaw90/master
Allow dynamic CSS values based on component props in react-jss
2019-01-28 13:02:18 -08:00
Corban Brook e76fa57bc0 Added missing userData to BufferGeometry (#32533) 2019-01-28 12:50:45 -08:00
Declan 480b0531a3 [@types/aws-lambda] Add Amazon Lex events (#32502)
* [aws-lambda] Add types for Amazon Lex events

* fix: Fixed Typo in `AWSLambda.LexDialogActionClose.fulfillmentState`

* fix: removed a blank line
2019-01-28 12:48:38 -08:00
Dan Rumney 6a792386c1 Add definition for default() method signature (#32532)
* Add definition for `default()` method signature

Per the documentation (https://github.com/jquense/yup#mixeddefault-any) a call to `default` with no value should return an instance of the type that the schema describes, rather than the schema itself.

* Update index.d.ts

Make `value` no longer optional in the `default` definition
2019-01-28 12:40:10 -08:00
Robin 2148b16feb + detailed sql errors (#32513) 2019-01-28 12:31:34 -08:00
Benjamin Lichtman 680362adbb Allow simple form of valid test case in ruletester (#32559) 2019-01-28 12:29:45 -08:00
Andrew Kaiser 739ed3b1cf add variable arg function type inference, tests (#32390) 2019-01-28 12:27:24 -08:00
Andrew MacLeay 140d0dc3e4 @storybook/addon-notes: support global decorator
Support the global decorator usage supplied in [the README](https://github.com/storybooks/storybook/blob/9f30442098e5350f5ba4872887cf9d1a03146e74/addons/ondevice-notes/README.md#getting-started)
2019-01-28 15:24:13 -05:00
Matt R. Wilson 157516ea34 [@types/opossum] Add new CircuitBreaker.shutdown().
https://github.com/nodeshift/opossum/pull/250
2019-01-28 12:38:41 -07:00
Manav Mishra 5578dc104f Breakpoints can be arbitrary according to documentation. (#32414)
Change Typings to accomodate that.
2019-01-28 11:30:43 -08:00
Kasra Bigdeli 5614607c3b Updated Dockerode Service definition (#32508)
* Updated Dockerode Service definition

Added logs to Service definition of Dockerode. Service, similar to Container, has log related methods:
https://github.com/apocas/dockerode/blob/master/lib/service.js#L140
https://github.com/apocas/dockerode/blob/master/lib/container.js#L990

* Removed name from authors

* Removed whitespace
2019-01-28 11:26:19 -08:00
Elizabeth Samuel 754b2a3584 [office-js] [office-js-preview] Fix occurrence typos (#32551) 2019-01-28 11:20:10 -08:00
James Lawrence 0059907e00 Disable no-unnecessary-generics test 2019-01-28 18:53:34 +00:00
Benjamin Lichtman 6f8151b703 Merge pull request #32408 from iquabius/patch-1
[next] Add support for state types in Next.js' App component
2019-01-28 08:50:34 -08:00
Benjamin Lichtman f05e180bfd Merge pull request #32306 from dlech/patch-1
[ssh2-streams] Add missing optional mode property to TransferOptions
2019-01-28 08:49:56 -08:00
Benjamin Lichtman 14b9dc5528 Merge pull request #32476 from Hinaser/uuidv4
[uuidv4] Add types
2019-01-28 08:41:40 -08:00
Benjamin Lichtman 4529b01df4 Merge pull request #32051 from ifiokjr/google-cloud__tasks
add typings for @google-cloud/tasks
2019-01-28 08:40:36 -08:00
Benjamin Lichtman 54fa54ecd2 Merge pull request #32371 from rhysd/obeliskjs-as-module
[obelisk.js] obelisk.js v1.2 now can be imported as module
2019-01-28 08:37:03 -08:00
Kyle Uehlein 9c52db4e04 [@types/node] add definition for child_process.execFile options 2019-01-28 11:35:10 -05:00
Jessica Franco 6a070320f2 Merge pull request #32395 from cameron-martin/feature/babel-traverse-node-aliases
[@babel/traverse]: Allowed node aliases as keys in visitors.
2019-01-28 21:23:38 +09:00
Oliver Joseph Ash 3317a1c2cf Revert "Fix RefForwardingComponent argument type. (#30373)" (#32343)
This reverts commit 0d49c9a4c6.
2019-01-28 07:11:27 +00:00
Dolan Miu 7f27ae1f91 Version bump 2019-01-27 17:49:49 +00:00
Dolan Miu 5a05abfba0 Export RepositoryInitOptions 2019-01-27 17:47:55 +00:00
Dolan e7fcb07831 Merge pull request #13 from DefinitelyTyped/master
Update to latest
2019-01-27 17:39:41 +00:00
Denis Cappellin 966470e9e5 Add missing definition for writeLong 2019-01-27 12:10:10 +01:00
David Lechner 2509b847fc [ssh2-streams] Add test for fastGet and fastPut overloads
This adds a test for the overloads of fastGet and fastPut that include
the optional TranferOptions parameter.
2019-01-26 17:33:50 -06:00
Vanya 55dbfec2eb Add definitions for color-diff (#32516) 2019-01-26 11:08:12 -08:00
Hugo Alliaume 2a76edab65 feat: add typings for Buble (#32515)
* chore(buble): setup

* feat(buble): implement tons of options and tests

* feat(buble): export interfaces, this can be useful

* feat(buble): add "includeContent" option

* fix(buble): add "dom" lib, fix sourcemap and linting issues
2019-01-26 10:50:34 -08:00
Michael Mojica 29eb368cdd react-slick - add slickPause/Play type (#32501) 2019-01-26 10:14:32 -08:00
Ferdy Budhidharma afdf66dc15 [react] better types for React.Children, second generic parameter for ReactElement (#32279)
* better types for react.children

* fix failing tests

* semicolons..
2019-01-26 14:36:57 +00:00
James Lawrence e8582cee86 Widening the return type seems to fix the issue - but I'm still not sure why? 2019-01-26 12:50:55 +00:00
James Lawrence 068b736687 Revert tsconfig.json 2019-01-26 12:50:21 +00:00