Commit Graph
52688 Commits
Author SHA1 Message Date
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
Andy Hanson 294290a41b Increment mobx-cookie version to avoid publish conflict 2018-11-12 16:21:49 -08:00
Ron Buckton 5c9bd886f8 Merge pull request #30472 from DefinitelyTyped/nodeRepl
[node] Improves node 'repl' types
2018-11-12 15:49:56 -08:00
Ron Buckton 91d6c51ece Merge pull request #30476 from DefinitelyTyped/noPackageLock
Adds .npmrc to disable package-lock generation/validation
2018-11-12 15:45:12 -08:00
Ron Buckton 74f27a82cb Adds .npmrc to disable package-lock generation/validation 2018-11-12 15:17:06 -08:00
Ron Buckton d6682eac8e Improves node 'repl' types 2018-11-12 14:54:45 -08:00
Daniel Rosenwasser 867913d396 Merge pull request #29909 from xtrimsystems/master
Package: Johnny-five - Added objects MotorPins and Motors
2018-11-12 10:58:54 -08:00
NullMDR bfc7007118 [react-router-config] Fix error when "strictFunctionTypes" is on (#30460) 2018-11-12 18:16:27 +00:00
Mickael Dumand 9e503beb07 [react-native] export CompositeAnimation 2018-11-12 15:45:47 +01:00
xtrimsystems a83efae9ca Removed overloads and corrected type for parameter in the Motor and Motors constructors 2018-11-11 13:15:21 +01:00
Christophe Hurpeau 7e0a27458d react: improve Children.map when children is a known array (#30445)
Thanks!
2018-11-11 10:53:51 +00:00
Eloy Durán 7b95fc3d18 Merge pull request #30434 from orta/styled-comments
styled-system: Adds JSDocs comments to properties exposed to clients
2018-11-10 16:15:41 +01:00
Orta Therox cb0bcaf196 Adds JSDocs comments to styled-system properties 2018-11-10 09:41:24 -05:00
Rhys Powell ab11f1b21b Rename React's SFC to 'FunctionalComponent' (#30364)
* renamed SFC to FunctionComponent

* more informative deprecation notice

* add FC as an alias for FunctionComponent

* remove use of deprecated APIs

Revert "remove use of deprecated APIs"

This reverts commit 6bdf2ed88a2ba758060c75720c4fd3960350d706.

remove use of deprecated APIs without reformatting

* add tests to ensure legacy aliases continue working
2018-11-10 07:37:24 +00:00
Andy d6d47aadde business-rules-engine: Remove duplicate Validation namespace (#30323) 2018-11-09 14:26:29 -08:00
Gerhard Stöbich 23568c0bd7 [node] add crypto.generateKeyPair (#30346) 2018-11-09 14:26:21 -08:00