Commit Graph
63350 Commits
Author SHA1 Message Date
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
Sebastian Sebald d46a380b47 Add position/grid style props + looser return value (#36744) 2019-07-09 16:18:35 -07:00
Malo Bourgon ea471b5034 Fix errors in @postlight/mercury-parser type declaration (#36643) 2019-07-09 13:03:57 -07:00
Andrew Luca a78d833089 feat(redux-api-middleware): add type definitions files (#36666) 2019-07-09 13:00:04 -07:00
Micah Stubbs 6317726538 add type definitions for react-sizes (#36058)
* add type definitions for react-sizes

* conform Definitions by: to expected format

* test file extension is .tsx, not .ts

* specify typescript version in header, remove old comment

* "strictFunctionTypes": true,  to satisfy the CI gods

* make testProp foo optional

* add "jsx": "react" compiler option

* change TestInnerProps to an interface, update expectation for foo

* add type definitions for react-sizes

* conform Definitions by: to expected format

* test file extension is .tsx, not .ts

* specify typescript version in header, remove old comment

* "strictFunctionTypes": true,  to satisfy the CI gods

* make testProp foo optional

* add "jsx": "react" compiler option

* change TestInnerProps to an interface, update expectation for foo

* fix example in test

* remove trailing white space.  change TestProps from interface to Type

* use interface instead

* explicit exports

* specify return type in test example

* add type definitions for react-sizes

* conform Definitions by: to expected format

* test file extension is .tsx, not .ts

* specify typescript version in header, remove old comment

* "strictFunctionTypes": true,  to satisfy the CI gods

* make testProp foo optional

* add "jsx": "react" compiler option

* change TestInnerProps to an interface, update expectation for foo

* add type definitions for react-sizes

* fix example in test

* remove trailing white space.  change TestProps from interface to Type

* use interface instead

* explicit exports

* specify return type in test example

* use PascalCase for type names

* PascalCase for MapSizesToProps

* inline type for mapSizesToProps function

* fix import

* remove errant ;

* remove lib compiler option in tsconfig

* Revert "remove lib compiler option in tsconfig"

This reverts commit 97d100788581e2bfacc563d676af4ad3020a68a1.

* export WithSizes as default and import it as default in test.  retain named export of WithSizes to match react-sizes library's export pattern
2019-07-09 12:56:58 -07:00
Richard Davison 26587aa3aa [@types/mongoose] Set new(doc) to use partials for type saftey on model interface (#36517)
* Set new(doc) to use partials for type saftey on model interface

This was changed to `object` then `any` in v5. Any reason for this?

* Fix broken test
2019-07-09 12:50:03 -07:00
Dave 7173ef2e66 [recharts] Added missing baseValue prop (#36626)
* [recharts] Added missing baseValue prop

* [recharts] Added baseValue prop
2019-07-09 12:48:35 -07:00
Anders Hejlsberg a666fed693 Ensure tests produce same results before and after TS #32260 (#36728) 2019-07-09 10:30:03 -07:00
하도영 575279d3ae [bulll] add missing variable, function definitions (#36652)
* add missing functions definitions

* add missing function def

* change log() return value

* update bull version

* add client to Queue

* typo

* add github reference and comment

* lint

* remove unnecessary code links

* modify comments for JSDoc

* remove redundant type info

* remove redundant type info
2019-07-09 08:46:31 -07:00
ybycode affe9d13fc [phoenix] Fix SocketConnectOptions for phoenix >= 1.4.3 (#36715)
Adds/fixes types of SocketConnectOptions attributes:

- Adds the missing attribute `binaryType`,
- Adds the missing attribute `rejoinAfterMs`,
- Fixes the type of `reconnectAfterMs`.
2019-07-08 19:06:54 -07:00
Richard Tan b425235dce just-safe-get (#36648) 2019-07-08 18:37:35 -07:00
James Cote 857eaaa323 Update sinon-test definitions (#36558) 2019-07-08 18:04:07 -07:00
Banst b7c2c7b4f2 remove stream-mock definitions (#36565) 2019-07-08 17:57:31 -07:00
Dmytro Gokun bb922126cd [@types/mapbox-gl] Add ImageSource.updateImage (#36589) 2019-07-08 17:39:27 -07:00
Konstantin Azizov 90900a7430 Mark chart data prop as ReadonlyArray (#36613) 2019-07-08 17:30:02 -07:00
Andrew Leedham af1c0ed7ce [@types/consolidate] union engines + requires mapping (#36622)
* refactor(consolidate): union engines + requires

* test(consolidate): update tests
2019-07-08 17:10:38 -07:00
Agustin N. R. Ramirez 03500408e8 Update type definitions for react-jsonschema-form (#36664)
* 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
2019-07-08 16:34:58 -07:00
Adrian Hope-Bailie 91406b9242 rsocket - allow partial in clientconfig and add tests (#36733)
* Allow partial responder in ClientConfig

* add tests

* move tests into client and server packages

* Update TS version to 2.2
2019-07-08 16:07:35 -07:00
Tina Roh 341c049f10 [@types/stripe] Add missing "card" field to ISource (#36606)
* Add card hash to ISource

* Add test

* Add newlines and ExpectType on return of test

* Remove type on const
2019-07-08 16:04:43 -07:00
Shmuel Lamm e3ca9d33ba [@types/stripe] Add support for Credit Notes (#36632)
* add support for credit notes

* add tests for credit notes support

* fix typo

* add more particular types

* update for PR review - add missing comments
2019-07-08 16:03:07 -07:00
Lucas Garron e7c7dc46e8 [@types/webappsec-credential-management] Change RP ID to optional. (#36590)
See https://www.w3.org/TR/webauthn/#sctn-rp-credential-params
2019-07-08 15:59:59 -07:00
Ethan Setnik cf7dfa2e4b [@types/stripe] Add external_accounts to IAccount (#36582)
* add external_accounts to IAccountShared

* make external_accounts optional

* use $ExpectType

* remove optionality from $ExpectType
2019-07-08 15:52:47 -07:00
dwieeb 60e431da4a Update HTTPS config options for superagent (#36627)
* add tls configuration types

superagent passes the ca, cert, and key parameters to `tls.createSecureContext`: https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options

* add `response` event to superagent types
2019-07-08 15:45:02 -07:00