Commit Graph
63320 Commits
Author SHA1 Message Date
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
Shmuel Lamm fa70abd6c1 correct types for invoice.charge and invoiceItem.invoice (#36679) 2019-07-08 15:43:00 -07:00
Akhil Bojedla f7fd218370 Added payment_method to Stripe's IPaymentIntentConfirmOptions (#36686) 2019-07-08 15:42:01 -07:00
Jason Thorpe 22c3c77865 Adding type assertions for collections as a whole (#36609)
* Adding type assertions for collections as a whole

* correct spaces and typescript version
2019-07-08 15:41:12 -07:00
Valerio Coltrè eae899753b [ldapjs-client] Basic Typings (#36243)
* initialized ldapjs-client typings

* client is a Class, not a factory function

* removed JSDOC, fixed linting

* fix tsconfig and typescript version. lint should go green

* removing unnecessary generic

* unknown type is supported after TS 3.0

* enabling npm-naming and complying to it

* exporting interface in commonjs style, and minor cleanup
2019-07-08 14:48:17 -07:00
Alex Bulanov 9b1985e52f @types/http-assert version up (#36719) 2019-07-08 14:16:36 -07:00
Oliver Joseph Ash c35f77042e Allow addKeys to be string[] (#36721) 2019-07-08 14:10:40 -07:00
Adrian Hope-Bailie bdb71cddca RSocket - Fix incorrect return types (#36723) 2019-07-08 14:09:33 -07:00
patrickhrastnik f1fe339b6e @types/bootstrap dropdown added missing parameter options (#36714)
* bootstrap dropdown added missing parameter options

* Just use an en dash instead of hyphen in comments.
2019-07-08 14:06:51 -07:00
Kevin Brown 1f7f0de466 Added initialNumToRender prop (#36711)
It's a valid prop according to the docs: https://github.com/archriss/react-native-snap-carousel/blob/master/doc/PROPS_METHODS_AND_GETTERS.md
2019-07-08 14:04:14 -07:00
TijmenW b27c0cf67a [Crossfilter] Change return type of group.all() to a readonly array (#36707)
* Change return type of group.all() to a readonly array

* Added a test

* Hopefully fix tests
2019-07-08 14:03:02 -07:00
Derek Sifford 04bd0915e7 [@wordpress/notices] add new definitions (#36700)
* [@wordpress/notices] add new definitions

* fix build failure
2019-07-08 14:00:14 -07:00
Oleg Vaskevich 50159e04f0 Add support for pay_immediately=false when updating Stripe subscriptions (#36634) 2019-07-08 13:50:51 -07:00
Derek Sifford 967c083537 [@wordpress/blocks] misc scattered fixes found in the wild (#36638)
* misc small fixes

* fix: allow possibly `undefined` parameter in getBlockType

* fix: add get/set for groupingBlockName to exposed store functions

* make innerblocks mutable since wordpress core mutates them

* misc fixes
2019-07-08 13:49:41 -07:00
Maurice de Beijer 9f538f114e Yup: Add Id<T> type to make infered types more readable (#36701) 2019-07-08 13:47:08 -07:00
Derek Sifford ad28cf9584 [@wordpress/components] fix incorrectly typed "icon" prop in <IconButton /> (#36683) 2019-07-08 13:46:51 -07:00
Rick-Kirkham a36f18187b (office.js and office.preview.js) reverse mistaken change (#36675) 2019-07-08 13:42:59 -07:00
Erik Dalén b9eba8fc8e [aws-lambda] Add missing fields on CognitoUserPoolTriggerEvent (#36668)
See:
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#cognito-user-pools-lambda-trigger-syntax-pre-token-generation

The linkParameter doesn't seem to be in the documentation, but it is there on the events.
2019-07-08 13:36:52 -07:00
Simon Schick 6a0a151520 fix(node): add missing vm and import.meta typings (#36657) 2019-07-08 13:32:00 -07:00
Yago Tomé 42cf9c4962 Add optional params to Parse PushData object (#36659) 2019-07-08 13:08:55 -07:00
Sebastian Sebald cd1c0a03d3 Allow interpolation in fontWeight + fix selector usage (#36649) 2019-07-08 13:08:18 -07:00
Rodrigo Fernandes 6d07646a19 Update diff2html configuration options typings (#36629) 2019-07-08 10:25:00 -07:00
Dasa Paddock d314939efe Update for ArcGIS API for JavaScript version 4.12 (#36624) 2019-07-08 10:23:06 -07:00
Dasa Paddock 2b547848ed Update for ArcGIS API for JavaScript version 3.29 (#36623) 2019-07-08 10:14:24 -07:00
Thewsomeguy 28fe7c4ca8 Added pttl to typings (#36637) 2019-07-08 10:13:07 -07:00
Dirk Olmes ed9e43134c Add typings for cometd's BinaryExtension (#36639)
* Add typings for cometd's BinaryExtension

* Add BinaryExtension to the tests

* Add BinaryExtension to tsconfig.json
2019-07-08 10:11:54 -07:00
Liam MitchellandRathPC 2a1baba03d [styled-system] Update typings to v5 (continued) (#36716)
* Update typings to styled-system v5

* Update system usage to include all properties

* Correct jsdoc comment spacings

* Actually correct JSDoc comment format

* Correct and test JSDoc comment spacing locally

The last three commits all have to do with correcting JSDoc spacing, but
unfortunately, the first two did not correct the issue. This commit
corrects the issue and is tested locally. I would prefer to squash all
these commits into the first, but will leave them for now.

* Update Styled System typings

* Add createParser and createStyleFunction functions

* Update types/styled-system/index.d.ts

Co-Authored-By: RathPC <rathpc@users.noreply.github.com>

* Update GridTemplateAreasProps interface

* Add textShadow and shadows style functions

* Fix shadows

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/36041#pullrequestreview-255991190
2019-07-08 19:06:39 +02:00
Fumiaki MATSUSHIMA a64e763292 lodash: Consider rest operator for intersectionBy (#36610) 2019-07-08 09:59:00 -07:00
Kim Ehrenpohl 1d1a9e75db [stripe-v3] Support for handleCardSetup and SetupIntent (#36662)
* Added types for handleCardSetup

* Author

* Fix format. Passes linting
2019-07-08 09:47:05 -07:00
souppower 8069501d3c [mui-datatables] add missing customRowRender option (#36680) 2019-07-08 09:45:22 -07:00
Dimitri Mitropoulos 59a57e00d8 [table] adds missing wrapWord property (#36681)
see: https://github.com/gajus/table/blob/master/src/schemas/config.json#L44
2019-07-08 09:44:26 -07:00