Commit Graph
62172 Commits
Author SHA1 Message Date
Sebastian Kropp c7e213857e BFS returns void if search not successful
return true if search has found the node
return false if search is aborted before finding anything
returns void/undefined if search should continue
therefore return type is a union type of `=> boolean | void`
2018-08-07 12:25:48 -04:00
Dobes Vandermeer 61173dfe08 Fix typings for zipcodes
The typings didn't match the library.

* `lookup` takes a `string` (or a `number` if you so choose): https://github.com/davglass/zipcodes/blob/master/lib/index.js#L13
* `distance` takes two `string`s, not `ZipCode` objects: https://github.com/davglass/zipcodes/blob/master/lib/index.js#L56
* similarly, `radius` takes a string rather than a `ZipCode` object, and always returns an array (of `string`s or `ZipCode` objects): https://github.com/davglass/zipcodes/blob/master/lib/index.js#L80
* Many return values are optional, with `null` or `undefined` returned for an invalid input.
2018-08-07 09:23:03 -07:00
Shalom Peles a247b4cbca fix lint errors 2018-08-07 19:15:42 +03:00
Shalom Peles 496621c80d add types for intrinsic-scale 2018-08-07 19:10:51 +03:00
Andy 1151563af9 Change all document.body! to document.body (#27920) 2018-08-07 08:27:21 -07:00
Nikolai Ommundsen 3774ea7588 Working on manifest representation. Hard to find docs... 2018-08-07 16:53:41 +02:00
Thomas den Hollander eb256ce0e8 google-cloud__storage: Add examples to tests 2018-08-07 16:38:15 +02:00
James Garbutt 98aaf81b5f [page] add decodeURLComponents option 2018-08-07 15:19:18 +01:00
Nikolai Ommundsen 58fbd4a07a Cleanup + fixed some todos 2018-08-07 16:04:40 +02:00
Krzysztof "Bushee" Nowaczyk 2ddb0343a2 added missing context param in angular-gettext's gettext.getPlural() 2018-08-07 16:02:22 +02:00
Tiger Oakes 6e89722230 Removes interactjs types
The interactjs package has provided a index.d.ts file since
August 2017.
2018-08-07 09:48:34 -04:00
Fabio Berta 29c908d7ad width and height are optional 2018-08-07 15:08:43 +02:00
Fabio Berta 0453260aef add missing class properties 2018-08-07 15:05:30 +02:00
Clément 63788e8495 Update test 2018-08-07 14:58:02 +02:00
Clément bceea928ac [auth0-js] Add prompt value in AuthorizeOptions 2018-08-07 14:56:25 +02:00
Yuan Gao ca6cf73a8e add more typings between 5.1 and 6.0 2018-08-07 19:41:38 +08:00
LexSwed 4603f23326 [parse-git-config] add missing options 2018-08-07 14:26:47 +03:00
Nikolai Ommundsen 3bc19aca5f chrome.alarms test + make helper types double and integer unique 2018-08-07 13:05:51 +02:00
Yuan Gao 8dc60fa7a7 add test for maxPayload in @types/ws 2018-08-07 18:50:35 +08:00
Robin Luiten f327f7cc69 Update types for react-sidebar 3.0.0
Added test case to check new properties are optional.
2018-08-07 20:47:16 +10:00
Yuan Gao f3f6643104 add maxPayload property to clientOptions in @types/ws 2018-08-07 18:43:34 +08:00
chanakadrathnayaka 7a0c74a5e6 Issue fix 2018-08-07 15:21:05 +05:30
Nikolai Ommundsen ee0d392ca1 webviewWebRequests: Typings + docs + tests 2018-08-07 11:48:11 +02:00
Chanaka b665b3927a Added few missing properties 2018-08-07 14:46:40 +05:30
jansule 44db229c6e Affect returned value to typed variables in getters
Also, remove name from contributors list
2018-08-07 11:08:30 +02:00
seki ce784479a0 [react-navigation] add exportation StackViewTransitionConfigs 2018-08-07 17:59:59 +09:00
Mikael Hermansson d00526b1b5 radium: Remove myself as author 2018-08-07 10:55:42 +02:00
denis 60506f9f33 document.body is not 'null' anymore in TypeScript@next 2018-08-07 10:27:40 +02:00
Christian Friedow a26d3a1353 Enabled strict null checks 2018-08-07 09:34:10 +02:00
Tyrone Dougherty 9a2ef63a1e @types/highcharts - Add animation boolean parameter to the Chart#update method 2018-08-07 15:24:16 +10:00
Alex Maclean 4d292f7efd Fixed type 2018-08-07 14:50:36 +10:00
Alex Maclean b9cffcee56 semicolons? 2018-08-07 14:27:33 +10:00
Alex Maclean f0d9be2343 Added myself! 2018-08-07 13:36:39 +10:00
Alex Maclean 29b6ccff01 react sortable tree missing prop 2018-08-07 13:34:22 +10:00
chris c8b4017093 Addressed merge conflict in test file. 2018-08-06 21:02:46 -05:00
Andy 480f7557d2 webappsec-credential-management: Fix lib.dom error (#27797) 2018-08-06 17:38:22 -07:00
Andy a2bd223042 velocity-animate: Support HTMLCollection in addition to NodeListOf<HTMLElement> (#27794) 2018-08-06 17:36:51 -07:00
Andy Hanson 2f341e0c79 klaw/v1: Minor cleanup 2018-08-06 17:27:14 -07:00
Simon 8dc75d71b5 fix(joi): add global exist function 2018-08-07 01:07:33 +02:00
Frank Li 21cfc7d247 Update index.d.ts 2018-08-06 15:36:22 -07:00
Ron Buckton 526dd2e576 Merge pull request #27688 from lenovouser/mapbox-marker-fix
[mapbox] marker is evented and has the draggable option
2018-08-06 15:23:38 -07:00
Frank Li ebb16b2d2d Pass any as the state type to ComponentClass
Pass any as the state type to ComponentClass from ComponentType.
2018-08-06 15:13:23 -07:00
Ron Buckton d1235dddad Merge pull request #27913 from 43081j/quill-signature
quill: fix signature for clipboard api
2018-08-06 14:56:05 -07:00
43081j 11413d1988 quill: fix signature for clipboard api 2018-08-06 20:18:40 +01:00
Thomas den Hollander 10bc3fc48a Move from namespace to static attributes (#27900) 2018-08-06 12:11:11 -07:00
Ange Picard 378202e216 [Create] definitions for markdown-pdf (#27897)
* Add typings for markdown-pdf

* Fix test

* Change import style to require.
2018-08-06 12:09:43 -07:00
Wu Haotian afa361b2b7 react-i18next: allow React.ReactNode as I18nextProvider's children and I18n's render function return value (#27895) 2018-08-06 12:08:15 -07:00
Masafumi Koba a0eb795fa9 [react-transition-group] Restrict Transition child function's argument type (#27894)
> A `function` child can be used instead of a React element.
> This function is called with the current transition status
> ('entering', 'entered', 'exiting', 'exited', 'unmounted'), which can be used
> to apply context specific props to a component.

https://github.com/reactjs/react-transition-group/blob/b8da4f2f2314b23a6471d78cb14c22efe13481dd/src/Transition.js#L379

See also #27693
2018-08-06 12:07:43 -07:00
Auston Zahrt 320cebc6f3 Add types for capture-console (#27891)
Adds type definitions for the NPM package "capture-console" v1.0.1
2018-08-06 12:07:01 -07:00
Simon Schick 347bdf75c3 feat(stripe): add failure_reason for refunds (#27884) 2018-08-06 12:05:57 -07:00