Commit Graph
63372 Commits
Author SHA1 Message Date
Derek Sifford 1ebc560f81 [@wordpress/token-list] add new definitions (#36689) 2019-07-10 16:06:58 -07:00
Derek Sifford d2bf4fe0fa [@wordpress/redux-routine] add new definitions (#36688) 2019-07-10 15:50:51 -07:00
Derek Sifford 5710db716f [@wordpress/viewport] add new definitions (#36697) 2019-07-10 15:21:30 -07:00
Derek Sifford 83d16b5c81 [@wordpress/block-library] add new definitions (#36691) 2019-07-10 14:29:40 -07:00
Derek Sifford c6f24d0036 [@wordpress/wordcount] add new definitions (#36690) 2019-07-10 14:28:24 -07:00
Derek Sifford 6bc55814c4 [@wordpress/nux] add new definitions (#36693) 2019-07-10 14:26:39 -07:00
Yerden 3f28071fcb NEW: Type definitions for koa-dec-router (#36696)
* NEW: Type definitions for koa-dec-router

* FIX: Type definitions for koa-dec-router
2019-07-10 14:23:07 -07:00
Ben Grynhaus 74a49e887e add types for timezoned-date (#36786) 2019-07-10 14:19:42 -07:00
Florian Keller dfa2e41ed3 Add types for sudokus (#36800) 2019-07-10 14:17:52 -07:00
kamakiri_ys cd095172b8 Add jsqubits type definition (#36805)
* add jsqubits type definition

* drop declare module
2019-07-10 14:00:34 -07:00
Ryan Lamansky 128496570a Added the id property to RequireContext as described here: https://webpack.js.org/guides/dependency-management/#context-module-api (#36676) 2019-07-10 13:49:00 -07:00
Andrew Luca 1ff5fa1ba1 feat(react-dropzone): remove package (#36792)
https://github.com/react-dropzone/react-dropzone/releases/tag/v5.1.0
2019-07-10 13:48:06 -07:00
Moshe Simantov 6a176da175 @postlight/mercury-parser: html param can be a Buffer as well (#36798)
* Html param can be a `Buffer` as well

See here:
https://github.com/postlight/mercury-parser/issues/362

* Add node to types

* remove node types from config

* add types node comment
2019-07-10 13:43:36 -07:00
Seally ac8a9d309e [fluent] Add 'undefined' to return type of FluentBundle.getMessage() (#36671)
* Fix(fluent): add 'undefined' to return type of FluentBundle.getMessage().

* Fix(fluent): Change parameter of FluentBundle.hasMessage() to 'id' to match API docs.
2019-07-10 13:43:04 -07:00
J.R b2e1bf8c80 Allow passage of any props to material form through TextValidator (#36797) 2019-07-10 13:41:06 -07:00
Ville Immonen f6e4e17d18 [webpack-dev-server] fix constructor argument types (#36670) 2019-07-10 13:40:14 -07:00
Maksim Karelov c54c9367c6 [wouter] Add types for wouter/preact submodule (#36788)
* Fix isMobile typings and tests

* Fix isMobile export

* Add types for wouter/preact submodule

* Remove `declare module` from preact submodule

* Fix children types in preact submodule

* Add missing preact dependency

* Fix package.json dependecy field
2019-07-10 13:39:07 -07:00
vladimir ee4315d618 Add restriction option for google map options (#36774)
* Add restriction option for google map options.

* Add comments from original Google Maps JS API documentation and links to it.
2019-07-10 13:14:56 -07:00
evian-pring 718f6ea35d React-Data-Grid: Add rowGroupRenderer prop to GridProps used by ReactDataGrid (#36773)
* Add rowGroupRenderer as prop in GridProps

* Add description of the added prop
2019-07-10 13:14:10 -07:00
Andrew Schmadel d0557be9a4 [braintree] Add paymentMethodNonce to ValidatedResponse (#36779)
This appears to have been accidentally omitted from the ValidatedResponse type
2019-07-10 13:13:23 -07:00
uhyo c95a3915b9 [styled-components] support union types as a type parameter of styled function (#36706)
* add support of union props to StyledComponentProps

* add tests
2019-07-10 13:05:52 -07:00
Fernando Chen 78ac91a550 Fix button props typing (#36782) 2019-07-10 13:03:32 -07:00
Agustin N. R. Ramirez f128e5e9b6 [react-jsonschema-form] Add definition of ThemeProps (#36795)
* Add withTheme definition

* Prettier changes

* Change react-jsonschema-form version correctly

* Add several function types about 'react-jsonschema-form/lib/utils' module

* Linter

* Add registry into ArrayFieldTemplateProps

* Format

* Add definition about ButtonProps

* Prettier

* [react-jsonschema-form] Add definition of ThemeProps

* [react-jsonschema-form] Add export in ThemeProps type
2019-07-10 13:02:20 -07:00
Tan Nguyen 77f516d94f extending Profile interface and changing VerifyCallback (#36612)
* extending Profile interface and changing VerifyCallback

* VerifyCallback error string | Error
2019-07-10 12:51:15 -07:00
Dan Kerimdzhanov 9b5c4c8179 [dotenv-flow] update typings to v3 (#36737) 2019-07-10 12:40:08 -07:00
Malo Bourgon bd4617c11e Update podcast type declarations (#36770) 2019-07-10 12:34:47 -07:00
Derek Sifford e5dcaed742 [@wordpress/date] add new definitions (#36698) 2019-07-10 12:32:27 -07:00
Nathan Shively-Sanders 3b0f471911 Move error spans for improved overload reporting (#36801)
* Move error spans for improved overload reporting

This PR moves the ExpectError comments or merges the
commented expression onto a single line, so that the assertions will
hold both for current versions of Typescript and for typescript@next.

* Better test change for d3-selection
2019-07-10 11:23:12 -07:00
Derek Sifford 35ae572326 [@wordpress/custom-templated-path-webpack-plugin] add new definitions (#36699) 2019-07-09 17:49:12 -07:00
maxwan 0a767516ec Add type definition for logger (#36769) 2019-07-09 17:36:15 -07:00
Andrew Luca e5d544eae0 fix(redux-api-middleware): update author github url (#36775) 2019-07-09 17:27:29 -07:00
Malo Bourgon fbe126dfaa Add type definitions for chunk-text (#36772) 2019-07-09 17:25:12 -07:00
Matthew Wagerfield bb95be8979 styled-components: Add CSSPseudos and simplify CSSObject (#36658)
* Simplify CSSObject and add CSSObject[]

* Add semicolons

* Remove $ExpectError from array values

* Remove CSSObject[] and revert tests
2019-07-09 17:24:08 -07:00
レアコイル 44cab03804 [tar] add maxReadSize, maxMetaEntrySize to tar.extract per documentation (#36776)
* add maxReadSize, maxMetaEntrySize to extract per documentation

* lint
2019-07-09 17:22:31 -07:00
vladimir 433209c601 Remove old map options properties that aren't supported any more. (#36778) 2019-07-09 17:22:06 -07:00
dainis ce00c416a9 Improve gc-stats typings (#36764) 2019-07-09 17:17:26 -07:00
Michelle Scharlock ad3f43b013 Custom funtions runtime changes (gets rid of outdated methods and beta tags) (#36777)
* get rid of beta tags

* minus beta tags and get rid of outdated things

* get rid of whitespace
2019-07-09 16:49:31 -07:00
Šimon Podlipský 723a2e6586 [baseui] Replace React.SyntheticEvent by more concrete types (#36732) 2019-07-09 16:48:22 -07:00
Dmytro Gokun e0b59d09e5 [@types/mapbox-gl] Add FullscreenControl optional constructor parameter (#36757) 2019-07-09 16:47:21 -07:00
Simon Tretter 1403877e74 add clientIp for middleware usage (#36730) 2019-07-09 16:46:03 -07:00
Jack Tomaszewski e15f8a4f68 fix(types/next): Add req and res NextContext typedefs used in next export (#36591)
* fix(types/next): Add req and res NextContext typedefs used in `next export`

On `next export` command, `req` and `res` objects are hardcoded simple objects: https://github.com/zeit/next.js/blob/master/packages/next/export/worker.js#L42-L43 and thus they have different type definition (i.e. `res.writeHead` is missing which might cause [such code](https://github.com/zeit/next.js/wiki/Redirecting-in-%60getInitialProps%60) to blow up with a `TypeError: res.writeHead is not a function` .

* fixup! fix(types/next): Add req and res NextContext typedefs used in `next export`
2019-07-09 16:31:50 -07:00
chivesrs 9bbed9600f Add typings for jQuery custom event into jqLite (#36735) 2019-07-09 16:30:18 -07:00
Tomáš Hylský 39f354c062 [@types/react-rangeslider] handleLabel type fix (#36742)
Based on the component definition, the handleLabel as a string. 

See: https://github.com/whoisandy/react-rangeslider/blob/master/src/Rangeslider.js#L39
2019-07-09 16:29:50 -07:00
Piotr Roszatycki 2105aaf1fe node: writableFinished has to be in WriteStream too (#36734)
* node: writableFinished is boolean and have to be in WriteStream too

* node: add test for process.stdout as Writable
2019-07-09 16:29:11 -07:00
Dylan Aspden 893d9e0111 [stripe] Add get/setRequestTelemetry and setAppInfo (#36665)
* chore: add name to stripe contributors

* feat(stripe): add get/setTelemetryEnabled

* feat(stripe): add setAppInfo

* test(stripe): add assertions for types
2019-07-09 16:28:10 -07:00
Erick Zhao d83339fdaa [@types/enzyme] Add missing Wrapper debug options parameter (#36604)
* [@types/enzyme] add missing wrapper debug options

* [@types/enzyme] add wrapper debug tests

* lint

* add name to definitions

* chore: format comments to be intellisense-friendly

* chore: remove newline
2019-07-09 16:27:00 -07:00
Šimon Podlipský 87bc03b812 [baseui] Fix lightThemePrimitives export (#36731) 2019-07-09 16:25:18 -07:00
moleCuleFFF c5c03725bb Added interval option to the ScrollRevealObjectOptions interface, as it is a valid option in the API docs. (#36727) 2019-07-09 16:24:24 -07:00
Tomasz Zabłocki cef01b83fb [@types/redux-orm] add six overloads for createSelector and fix invalid return type of createReducer (#36738) 2019-07-09 16:21:06 -07:00
Oleg Vaskevich bd4aef3a75 Add support for new Stripe invoice line item listing (#36740) 2019-07-09 16:19:23 -07:00