Commit Graph
48269 Commits
Author SHA1 Message Date
Sebastian KroppandGitHub 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
AndyandGitHub 1151563af9 Change all document.body! to document.body (#27920) 2018-08-07 08:27:21 -07:00
AndyandGitHub 480f7557d2 webappsec-credential-management: Fix lib.dom error (#27797) 2018-08-06 17:38:22 -07:00
AndyandGitHub 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
Ron BucktonandGitHub 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
Ron BucktonandGitHub 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 HollanderandSheetal Nandi 10bc3fc48a Move from namespace to static attributes (#27900) 2018-08-06 12:11:11 -07:00
Ange PicardandSheetal Nandi 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 HaotianandSheetal Nandi 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 KobaandSheetal Nandi 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 ZahrtandSheetal Nandi 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 SchickandSheetal Nandi 347bdf75c3 feat(stripe): add failure_reason for refunds (#27884) 2018-08-06 12:05:57 -07:00
Brandon HallandSheetal Nandi ef1f0f87e8 [react-virtualized] Fix WindowScrollerChildProps (#27880) 2018-08-06 12:05:06 -07:00
Max RumpfandSheetal Nandi a04576e800 [@types/dnssd] More fixes according the original source (#27877)
* Another set of fixes

* Fix lint

* Fix support for object type
2018-08-06 12:02:58 -07:00
Lexie HankinsandSheetal Nandi 563ac4735f Add types for extsprintf (#27875)
* Add types for extsprintf

* Fix extprintf.Stream callback type.
2018-08-06 12:02:40 -07:00
Jon FreedmanandSheetal Nandi 135d115688 [react-select] switch DOM Node for ReactNode as per other files (#27871)
* as elsewhere Node type should refer to ReactNode not a DOM node

* lint fix :(

* remove ReactNode -> Node alias and use ReactNode type throughout
2018-08-06 12:01:51 -07:00
Francis GulottaandSheetal Nandi 33698bbac3 ioredis: add some missing overloads and methods (#27870)
Added the following for base redis and pipeline methods 
- Corrected the `set()` method’s arguments and returns
- added the `setBuffer()` method
- added the `hsetBuffer()` method
- added the `hgetBuffer()` method
2018-08-06 12:00:56 -07:00
York YaoandSheetal Nandi 3bf0d7c946 [@types/node] add missing optional padding and saltLength (#27866) 2018-08-06 11:59:01 -07:00
reminandSheetal Nandi 059cf948f8 @types/react-resize-detector: Update to v3.1.0 (#27860)
* update react-resize-detector to allow undefined onResize

* update react-resize-detector

* update test of react-resize-detector

* fix format

* add an author
2018-08-06 11:57:43 -07:00
nemoinhoandSheetal Nandi 9e26d926eb Update version of redom-types (#27856) 2018-08-06 11:55:43 -07:00
Steven SinatraandSheetal Nandi 49e5c50d62 Add selectV2 definition to @storybook/addon-knobs (#27848) 2018-08-06 11:53:34 -07:00
SagaTiousandSheetal Nandi c16655d797 material__menu CornerBit interface is wrong (#27836)
* fix: The const Corner that this interface shall describe is using | as bitwise operator, in the interface description | is logical or though, so the interface is wrong.

* style: Rearranged values to match @material/menu constants definition again
2018-08-06 11:52:43 -07:00
Maxim-Alexandre LalancetteandSheetal Nandi b5d97138d0 Add autoHeight option (#27783) 2018-08-06 11:52:30 -07:00
Tyler JohnsonandSheetal Nandi c687ee5d0c PouchDB Database is an EventEmitter (#27771) 2018-08-06 11:52:06 -07:00
Stoian IvanovandSheetal Nandi 80e003836d timezoneJS.Date.toString have a handy format parameter so we daclare it (#27755) 2018-08-06 11:50:43 -07:00
Terry MunandSheetal Nandi c1c132972d [@types/vimeo__player] Updating typings to match Vimeo's player.js v2.6.3 (#27749)
* Updated typings to match Vimeo's player.js v2.6.3, updated tests to reflect new methods, properties, and events

* Cleanup of unused boilerplate lines

* setPlaybackRate may return RangeError

* options argument in constructor is optional
2018-08-06 11:50:12 -07:00
Michael SuandSheetal Nandi 6d4581efc2 Fix signature of Picker.setCallback() (#27746) 2018-08-06 11:49:31 -07:00
Marcin SmółkaandSheetal Nandi d81b7ef2d5 kendo-ui: add skip() function to DataSource (#27722)
* kendo-ui: DataSource skip()

* fix definition, missing semicolon
2018-08-06 11:47:02 -07:00
ocboogieandSheetal Nandi a08595ef00 Update prettyMs to 3.2 (#27721)
Missing option keepDecimalsOnWholeSeconds
2018-08-06 11:45:57 -07:00
Seth EtterandSheetal Nandi 82e1fac4d0 Bring connect-mongo types in line with express-session 1.15 (#27713) 2018-08-06 11:44:18 -07:00
LindseyandSheetal Nandi e9adaf7d2b [@types/highcharts] Fix type definition for responsive rules chartOptions (#27711) 2018-08-06 11:42:33 -07:00
Dmitriy SavchenkoandSheetal Nandi 686d449242 [react-twitter-auth] update types (#27680)
* Add missing props

* Add more tests

* Update types version

* Fix specified type version for package

* Fix specified version
2018-08-06 11:35:26 -07:00
golyalphaandSheetal Nandi 953faadd23 Fix types in multiple classes [CesiumJS] (#27672)
* Changes to mutiple classes

Fixed types of PolygonGraphics
 - the type of fill property should be boolean
 - the types in constructor's options object should match the types of the class properties
Fixed types of LabelGraphics
 - the font property is a string specifying the CSS font
 - see change notes to PolygonGraphics
Fixed types of EllipseGraphics
 - the outlineColor prop is of type Color, not Property
 - see change notes to PolygonGraphics

* Fixed types of LabelGraphics
 - fillColor type changed to Color
 - outlineColor type changed to Color
 - outlineWidth type changed to number

* Fixed types in EllipseGraphics

* Updated PolygonGraphics

material property accepts both MaterialProperty and Color types

* Updated types in EllipseGraphics
2018-08-06 11:34:49 -07:00
David J. FelixandSheetal Nandi efe7ba616a [@types/aws-lambda]: Add extractedFields optional field (#27670)
* [@types/aws-lambda]: Add extractedFields optional field

Added an undocumented optional field to a datatype which is sent zipped and base64 encoded. This field is only available if users select certain options when creating a subscription filter.

You can see the field used if you create a subscription filter to elasticsearch and look at the source for the builtin lambda. I couldn't find any documentation for this field except in the terms "fields extracted" [here](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html) and found some amazon code referencing it [here](https://github.com/amazon-archives/cloudwatch-logs-subscription-consumer/blob/master/src/test/resources/aws-lambda-log-example.json#L14).

I nearly went insane tracking this down.

* Narrow the type of extracted fields to string:string

* Add test for extracted fields
2018-08-06 11:34:23 -07:00
denisnameandSheetal Nandi c1b7e33e7f d3-quadtree: JsDoc, strictNullChecks and TS 2.3 (#27648)
* Add JsDoc and use default generics

* Activate strictNullChecks and use ExpectError

* Fix most linting

trailing whitespace
TypeScript Version: 2.3

* Fix void-return

* Add length property to internal and leaf nodes
2018-08-06 11:33:00 -07:00
AndyandGitHub 69f6358f3c dom4: ElementTraversal is now part of ParentNode (#27769) 2018-08-06 11:32:15 -07:00
Alex JerabekandSheetal Nandi 7321648432 [Office-js] Adding support tables to Shared API methods (#27829)
* Adding support details to shared API enums

* COrrecting link syntax

* Adding support tables
2018-08-06 11:31:12 -07:00
Ferdy BudhidharmaandJohn Reilly 1d9679b2dc [react] add library managed attributes and upgrade TS requirement to 2.8 (#27901)
* feat(react): add library managed attributes and upgrade to 2.8

* fix broken tests

* fix lint errors
2018-08-06 18:51:26 +01:00
AndyandGitHub 5f81770afb mocha: Fix $ExpectType assertions (#27774) 2018-08-06 10:29:53 -07:00
Jimmy GrandandSheetal Nandi ce3424af64 mongoose: add context to the ModelFindByIdAndUpdateOptions (#27759) 2018-08-06 09:53:12 -07:00
Junyoung Clare JangandAndy 44f4f58991 Fix broken README link to korean README (#27903) 2018-08-06 09:39:22 -07:00
Eugene Y. Q. ShenandAndy f9dcdecd8b [node]: Update assert.fail parameters (#27622)
[assert.fail](https://nodejs.org/api/assert.html#assert_assert_fail_message)
has an optional `message` parameter that can be either a `string` or `Error`.
2018-08-06 09:28:50 -07:00
Junyoung Clare JangandAndy e53465fb03 Add korean readme (#27742) 2018-08-06 09:28:20 -07:00
locandSheetal Nandi 92aa146b06 Add types for sdp-transform (#27716)
* add types

* add test

* add missing function definitions
2018-08-06 09:27:45 -07:00
Mohammad Hossein AmriandSheetal Nandi ddfe0d3b08 add convert function to quill's clipboard api (#27830)
* add convert function to quill's clipboard api

* create test for quill convert and rename some test function for consistency

* arrange the code for better diff

* fix test case

* add my name and github
2018-08-06 09:26:34 -07:00
Olly LevettandJohn Reilly 6b9e17df58 Add jqueryui slider class type (#27896) 2018-08-06 14:48:25 +01:00
Ferdy BudhidharmaandJohn Reilly bc0c933415 feat(react-dependents): update to TS 2.8 (part 2 of 2) (#27744)
* feat(react-dependents): update to ts 2.8

* fix version mismatches

* remove package.json

* post merge updates

* add package.json back again
2018-08-06 06:28:42 +01:00
Takuya FujiwaraandSheetal Nandi 9c32df15f4 add @types/svg-path-parser (#27869) 2018-08-03 21:20:54 -07:00