Commit Graph

48260 Commits

Author SHA1 Message Date
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.

b8da4f2f23/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
Brandon Hall
ef1f0f87e8 [react-virtualized] Fix WindowScrollerChildProps (#27880) 2018-08-06 12:05:06 -07:00
Max Rumpf
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 Hankins
563ac4735f Add types for extsprintf (#27875)
* Add types for extsprintf

* Fix extprintf.Stream callback type.
2018-08-06 12:02:40 -07:00
Jon Freedman
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 Gulotta
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 Yao
3bf0d7c946 [@types/node] add missing optional padding and saltLength (#27866) 2018-08-06 11:59:01 -07:00
remin
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
nemoinho
9e26d926eb Update version of redom-types (#27856) 2018-08-06 11:55:43 -07:00
Steven Sinatra
49e5c50d62 Add selectV2 definition to @storybook/addon-knobs (#27848) 2018-08-06 11:53:34 -07:00
SagaTious
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 Lalancette
b5d97138d0 Add autoHeight option (#27783) 2018-08-06 11:52:30 -07:00
Tyler Johnson
c687ee5d0c PouchDB Database is an EventEmitter (#27771) 2018-08-06 11:52:06 -07:00
Stoian Ivanov
80e003836d timezoneJS.Date.toString have a handy format parameter so we daclare it (#27755) 2018-08-06 11:50:43 -07:00
Terry Mun
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 Su
6d4581efc2 Fix signature of Picker.setCallback() (#27746) 2018-08-06 11:49:31 -07:00
Marcin Smółka
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
ocboogie
a08595ef00 Update prettyMs to 3.2 (#27721)
Missing option keepDecimalsOnWholeSeconds
2018-08-06 11:45:57 -07:00
Seth Etter
82e1fac4d0 Bring connect-mongo types in line with express-session 1.15 (#27713) 2018-08-06 11:44:18 -07:00
Lindsey
e9adaf7d2b [@types/highcharts] Fix type definition for responsive rules chartOptions (#27711) 2018-08-06 11:42:33 -07:00
Dmitriy Savchenko
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
golyalpha
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. Felix
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
denisname
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
Andy
69f6358f3c dom4: ElementTraversal is now part of ParentNode (#27769) 2018-08-06 11:32:15 -07:00
Alex Jerabek
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 Budhidharma
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
Andy
5f81770afb mocha: Fix $ExpectType assertions (#27774) 2018-08-06 10:29:53 -07:00
Jimmy Grand
ce3424af64 mongoose: add context to the ModelFindByIdAndUpdateOptions (#27759) 2018-08-06 09:53:12 -07:00
Junyoung Clare Jang
44f4f58991 Fix broken README link to korean README (#27903) 2018-08-06 09:39:22 -07:00
Eugene Y. Q. Shen
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 Jang
e53465fb03 Add korean readme (#27742) 2018-08-06 09:28:20 -07:00
loc
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 Amri
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 Levett
6b9e17df58 Add jqueryui slider class type (#27896) 2018-08-06 14:48:25 +01:00
Ferdy Budhidharma
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 Fujiwara
9c32df15f4 add @types/svg-path-parser (#27869) 2018-08-03 21:20:54 -07:00
Eloy Durán
526d1caf3a Merge pull request #27867 from alloy/react-relay-fragment-references
[react-relay] Type-check fragment references.
2018-08-03 23:04:34 -04:00
Eloy Durán
95ca74c7a2 [react-relay] Type-check fragment references.
Related to https://github.com/relay-tools/relay-compiler-language-typescript/issues/7
2018-08-03 22:53:44 -04:00
Eloy Durán
858cdbb16c Merge pull request #27865 from Lavoaster/patch-1
styled-system: Fix internal reference to types
2018-08-03 22:21:42 -04:00
Adam Lavin
2fc559fe3c styled-system: Fix internal reference to types 2018-08-04 00:25:25 +01:00
nscarcella
83a4cac231 Added declaration of chrisjpatty/react-dragtastic (#27669)
* Added declaration of tweetdeck/valiant (#27385)

* Added declaration of tweetdeck/valiant

* fixed version notation and miss typo.

* lint fixes

* PR fixes
2018-08-03 15:35:17 -07:00
Klaus Meinhardt
cabbc399ff add @iarna/toml (#27861)
* add @iarna/toml

* fix path mapping
2018-08-03 15:32:30 -07:00
Christopher Dieringer
f37107862d fix(nanographql): support usage as normal fn (#27863) 2018-08-03 15:29:16 -07:00
Daniel
5d2acd7ea2 Add typings for is-callable (#27859)
* [@types/is-callable] Add type definition

* [@types/is-callable] Remove optional quantifier from parameter
2018-08-03 15:28:50 -07:00