Commit Graph
53729 Commits
Author SHA1 Message Date
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
Sebastian Greaves bfc49319ae fixes 2018-11-14 17:16:19 +00:00
Sebastian Greaves 1037be5f8b Feedback 2018-11-14 17:12:17 +00:00
Andrew Goldis ad8b0f11ff [@typed/parse] Major version bump due to Parse 2.1.0 2018-11-15 03:24:17 +11:00
Sebastian Greaves 04a754692f Remove redundant methods 2018-11-14 16:18:01 +00:00
Sebastian Greaves 6339f36f6c Re-Add missing methods 2018-11-14 16:15:53 +00: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
Sebastian Greaves b173143c7c Add a commandable interface that both Slate Editor and Slate React Editor implement 2018-11-14 14:50:06 +00:00
Vincent 70a1a0ad86 Add type definition for the <LinkTo> component
Documentation here: https://www.npmjs.com/package/@storybook/addon-links#linkto-component-react-only
2018-11-14 15:39:35 +01:00
Jessica 9e6ea6abc6 Add a way to declare a ThemeProvider is augmenting another ThemeProvider 2018-11-14 18:53:20 +09:00
Jessica 9a4b5d4d34 Document DefaultTheme, test ThemedStyledComponentsModule shape 2018-11-14 17:37:42 +09:00
Jessica 160c4de7df Use a helper for the Extract<keyof T> stuff, support DefaultTheme in ThemeConsumer 2018-11-14 17:25:15 +09:00
Eric Freese 46b0ea8eb9 Fix equal function when passing in an array
For example, `expect([1, 2, 3]).to.equal([1, 2, 3])` previously would
give the compilation error:

> Argument of type 'number[]' is not assignable to parameter of type 'number'.
2018-11-14 00:20:14 -07: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
Matthias Dailey c58729090b Update dts-bundle typings 2018-11-14 00:57:17 -05:00
Jessica 59ab5b3aef Add more complete support for object styles, tests 2018-11-14 13:14:32 +09: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
Alex Lipatov 0218259e41 Remove sample swagger file (used in the test) - apparently Travis doesn't know it is actually used. 2018-11-13 19:28:03 -05:00
Alex Lipatov f125ffc14e Make more specific type definitions. 2018-11-13 19:10:43 -05:00
Ruslan Hrabovyi 7aef9be4cd [@ember/routing] Fix redirect hook
Prior to this commit `redirect()` hook was mistakenly
typed and documented the same way as `refresh()`.

It's now fixed for v2 and v3 now.

While v3 is provided with a positive and a negative test
cases, v2 is only provided with a positive one.

This is because v2 uses typescript of version 2.4 which is
not able to catch the failing test case.
2018-11-14 01:12:46 +02:00
Mauri Edo 9acef5b9dc fixing wrong type for exclusiveMinimum and exclusiveMaximum in BaseSchema 2018-11-14 10:04:41 +11: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