Commit Graph
52713 Commits
Author SHA1 Message Date
Ron Buckton 4e3232cee3 Remove unnecessary import 2018-11-15 12:13:36 -08:00
Ron Buckton 52dab70cea Merge pull request #30535 from DefinitelyTyped/nodeRepl2
[node] Add additional REPLServer members
2018-11-15 12:12:15 -08:00
Ron Buckton 9f0e21404a Merge pull request #30470 from ClaytonAstrom/master
Add Enhanced Page Objects definitions
2018-11-15 12:04:51 -08:00
Ron Buckton 7e4d4b5795 [node] Add additional REPLServer members 2018-11-14 22:28:33 -08:00
Benjamin Terrier dbfa83b85e [plotly.js] Add responsive field to Config (#30377) 2018-11-14 19:41:21 -08:00
Jorge Claro 7cdff8cd12 add LINK and UNLINK http verbs to koa-router (#30520)
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30464
2018-11-14 19:34:45 -08:00
Andy d8af87d9b5 node-fetch: Is itself a function, not an object with a 'default' property (#30503) 2018-11-14 19:31:11 -08:00
Pine Mizune 01f70fc7b3 [text-encoding] Fix contributor GitHub URL (#30483)
* Fix GitHub URL

* Fix indent
2018-11-14 19:24:34 -08:00
grandin-j 24b440b4fd Fix typo in chooseEntry(…) for multiple files (#30509)
This simply aligns the type of the callback with the options when calling chooseEntry for selecting multiple files.
2018-11-14 19:20:49 -08:00
koenvg 1a82900084 @types/react-intl: Add timezone prop to intlProvider (#30487) 2018-11-14 19:19:22 -08:00
Joel Shepherd 7eb24351b1 Adding missing clearOrder() for knex (#30482) 2018-11-14 19:17:35 -08:00
Brendan Ratter 2f2a60716c Bratter @types/tracking update - bugfixes, additional type buildout, and added comments (#30448)
* types/tracking: bugfixes, additional types, and comments

* Bumped version for tracking
2018-11-14 19:12:15 -08:00
Nate Silva 280c65abb5 validator: add options for isISO8601 (#30475)
* validator: add options for isISO8601

* typo
2018-11-14 18:45:34 -08:00
Piotr Dąbrowski 42bffa401c [react-stripe-elements] Fix wrong types for onReady method (#30447)
* Fix wrong types for onReady method

In Stripe docs there are examples like `<CardElement onReady={(el) => el.focus()} />`
This PR fixes issue with missing method parameters for `onReady` function.

* fix: use better type for the html element

* fix: updated authors list

* fix: updated test file
2018-11-14 18:41:20 -08:00
Mike b8cb5dc065 [javascript-astar] Fix typo in Heuristics (#30450)
* [javascript-astar] Fix typo in Heuristic types

* [javascript-astar] Add @lazerwalker to header
2018-11-14 18:19:38 -08:00
denisname 45facea70c d3-dsv: TypesScript 2.3 (#30466)
* Generics for *format functions
Use object instead of DSVRowAny (TS 2.2)
Remove useless expectError
Remove a duplicate csvParse test
Replace properties year, make, ... tests for an interface test

* Revert changes for DSVRowAny
2018-11-14 18:16:09 -08:00
samuela 18f21659bb [@types/node] ChildProcess code and signal can be null (#30299)
* ChildProcess `code` and `signal` can be null

According to https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L207 and in particular https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L246, it's possible for either the `code` or `signal` values to be null.

* add samuela to the authors list

* show some love to the other instances
2018-11-14 17:49:36 -08:00
Dan Maglasang 5bf49a7068 [ember] Polyfill: allow assign to take in more than 4 args (#30424)
* [ember] Polyfill: allow assign to take in more than 4 args

* Return type should be object

* Adjust tests in response to modified return type

Co-Authored-By: dorilla <dcmaglasang@gmail.com>

* Change return type back to “any”

In order to facilitate direct property access

* Change return type back to “any”

In order to facilitate direct property access
2018-11-14 17:46:11 -08:00
adamaho dbe62c60d9 Yup SchemaDefinition update for fields (#30437)
* Updaing SchemaDefinition type

* updating tests
2018-11-14 16:14:34 -08:00
Maxim Makarov d70a9a1d9e passphrase is optional in signer (#30360) 2018-11-14 16:11:16 -08:00
Eloy Durán f843c65f11 Merge pull request #30521 from spencerkingman-niche/patch-1
Add "keyboard" to LayoutAnimation.types in React-Native
2018-11-15 01:09:15 +01:00
Kapil Sachdeva f577cf04e3 dockerode - fix the EndpointsConfig in ContainerCreateOptions / add necessary new definitions (#30417) 2018-11-14 16:04:42 -08:00
Chris Jacob 85702dd9f3 agenda - fix typos (#30420) 2018-11-14 15:27:50 -08:00
Dmitry Shirokov 851da26624 Remove maxmind typings (#30393) 2018-11-14 15:25:08 -08:00
Amit Agarwal 208cfa64ac GmailApp getAttachments() (#30444)
Advanced parameters to get all the attachments for any Gmail message.
2018-11-14 14:41:52 -08:00
Nikolaj Kappler f7b71c452a Codemirror comment fix (#30378)
* fixed typedef for toggleComment

there is a mistake in the documenation.
(See https://github.com/codemirror/CodeMirror/issues/5654)
This is why this mistake in the type defs slipped through.

workstream:

* fixed corresponding test.

workstream:
2018-11-14 14:20:21 -08:00
Sebastian Busch 9acca8ab3e List calls rowRenderer with rowIndex renamed to index. Also dont redefine style prop (#30408)
* So we omit rowIndex from GridCellProps and add index with same type
* ListRowProps already inherit style prop from GridCellProps
2018-11-14 14:16:08 -08:00
Elizabeth Samuel 82874c7ac5 office-js: Clean up taskpane (#30527) 2018-11-14 12:32:31 -08:00
Fabian ced8a6ce1a fix: Also allow TextStyles for theming on ID (#30411) 2018-11-14 11:38:21 -08:00
Spencer Elliott a7dfc6c9a8 [slate] Fix ObjectAndType interface: types -> type (#30388)
* Fix ObjectAndType interface: `types` -> `type`

* Fix slate tests: use SchemaProperties

The `Schema` class no longer exists, so `Schema.create` would not work.
2018-11-14 11:34:55 -08:00
Jiayu Liu 72061aed07 adding report analytics (#30404) 2018-11-14 11:33:50 -08:00
gcangussu 696ea3460b [react-visibility-sensor] Updated to v5. (#30356)
* Updated to react-visibility-sensor v5.

* Include null for isVisible on child function arg.
2018-11-14 11:00:16 -08:00
Spencer Kingman 0d01e43497 Update index.d.ts
The `keyboard` animation type is added here. This is a valid type as described here: https://medium.com/@philipshen13/react-native-layoutanimation-267489b67a20 (check the section `LayoutAnimation.types`)
2018-11-14 10:16:53 -05:00
Jessica Franco c59c711d65 Add 'null' to the type of React.Ref, fixes React.forwardRef (#30510)
* Refs can be 'null' too (they default to that)

* Correct $ExpectType assertion
2018-11-14 06:50:25 +00:00
FishOrBear a8ef194960 Update Box3 (#30456)
ref: https://github.com/mrdoob/three.js/blob/dev/src/math/Box3.js
2018-11-13 17:52:27 -08:00
Spencer Elliott 5f379c1b30 Allow any key/value on __NEXT_DATA__ (#30389) 2018-11-13 17:07:16 -08:00
Andy 0f105ddc5e 'zipkin' dependers need ts2.3+ (#30508) 2018-11-13 16:59:06 -08:00
Joachim Blaafjell Holwech 33c7825107 Added a 'responsive' argument for Config in Plotly.js (#30497)
* Added responsive type in Config

* Fixed tabs
2018-11-13 16:38:24 -08:00
Alexey Immoreev 0d49c9a4c6 Fix RefForwardingComponent argument type. (#30373) 2018-11-13 22:55:17 +00:00
Marius 31fc92ecd3 Add missing definitions to tus-js-client (#30384) 2018-11-13 14:39:28 -08:00
Elizabeth Samuel 305cb040cd office-js: Clarify description of ItemChanged (#30387)
* office-js: Clarify description of ItemChanged

* update based on feedback
2018-11-13 13:31:36 -08:00
Resi Respati 96861dff00 [screeps] Release 2.5.2 (#30399) 2018-11-13 13:30:13 -08:00
Nikolaj Kappler 397cc548c9 Exporting QueryReturn interfaces and some other interfaces. (#30405)
It makes no sense not to export them.

workstream:
2018-11-13 12:45:56 -08:00
Alex Jerabek d1b0ac675b Removing newly unnecessary escape characters (#30414) 2018-11-13 11:17:13 -08:00
Gerhard Stöbich 7b4f51a2d9 node: Update http2 types for node 10 (#30425) 2018-11-13 11:10:07 -08:00
Mauri Edo 8745a252e8 refine swagger2 parameter types (#30452) 2018-11-13 10:59:30 -08:00
Jessica Franco 5c49d4ddc6 Reimplement styled-components with support for .withComponent, type-safe ref, and as (#30467)
* Add back context; add more helper context types and documentation

* Fix the handling of ref to properly exclude string refs where not supported

* Fix erroneous tests that got caught by the better Ref type

* Augment ComponentProps to support JSX.IntrinsicElements

* Add tests, doc comments for ComponentProps*

* Add self to Definitions by

* Add TODO comment

* Add comments about the "'ref' extends keyof P" checks

* Fix the handling of ref and props when using withComponent in styled-components

* Swap nesting order of mapped types to fix missing $ExpectErrors

* Comment out test that fails in TS@3.0

* Hack to deal with the tests not failing when they should

* Rewrite styled-components

* Bump version

* Bump minimum TypeScript version

* Update types of @rebass/grid (depends on styled-components)

* Update styled-react-modal types to 1.1 (also styled-components related)

* Reformat styled-components's index.d.ts
2018-11-13 16:57:37 +00:00
Eloy Durán 52e810e694 Merge pull request #30469 from kimak/patch-1
[react-native] export CompositeAnimation
2018-11-13 13:12:48 +01:00
Pine Mizune 25c1536264 [webpack] Fix webpack types: use anymatch.Matcher for watchOptions.ignored (#30480)
* Fix webpack types

* Fix lint error
2018-11-13 09:00:20 +00:00
Igor Golovin c3485127f0 [meteor-astronomy] Improve Class typing. (#30418) 2018-11-12 18:47:17 -08:00