Commit Graph
62419 Commits
Author SHA1 Message Date
Eon S. JeonandNathan Shively-Sanders 500da47fe5 [node] add a new option, withFileTypes, to fs.promises.readdir (#35213)
* [node] add withFileTypes option to fs.promises.readdir

node v12 newly added withFileTypes option to fs.promises.readdir

* [node] add a test for fs.promises.readdir
2019-05-14 14:56:34 -07:00
Charles KenneyandNathan Shively-Sanders 216d877abf add xml-escape typings (#35449) 2019-05-14 14:55:43 -07:00
John HamelinkandNathan Shively-Sanders 7594a53576 sqs-producer: Added missing attributes in Options interface (#35444)
* sqs-producer: Added missing attributes in Options interface

Added accessKeyId and secretAccessKey (taken from the README on the
project) to the Options interface. Added an (unused) producer to the
test with the extra Options set.

* Added my name to the "definitionsBy" as per the PR checklist
2019-05-14 14:53:58 -07:00
Can ErişandNathan Shively-Sanders 268fe2d0fb [hookrouter] Add type definitions for react hookrouter. (#35443)
* Add tests.

* Add types.

* Add package.json with csstype dependency.

* Add tslint.json and tsconfig.json.
2019-05-14 14:51:43 -07:00
Maz AhmadiandNathan Shively-Sanders c46c58352f Add tunnel-ssh (#35417) 2019-05-14 14:48:17 -07:00
Jørgen VatleandNathan Shively-Sanders cdfc8e91cb [coinbase-commerce-node] Add type definitions for coinbase-commerce-node (#35415)
* Add tsconfig for 'coinbase-commerce-node'

* Add coinbase-commerce-node type index.

* Define init() method of CoinbaseCommerceNode client.

* Add JSDoc to CoinbaseCommerceNode Client object.

* Define scope for init() method of Client class.

* Define CoinbaseCommerceNode Charge resource.

* Define scope of save() method in CoinbaseCommerceNode Charge resource.

* Add static create() method to CoinbaseCommerce Charge resource.

* Export Charge resource in CoinbaseCommerceNode.

* Add JSDoc to CoinbaseCommerce CreateAChargeResponse.

* Remove 'ETC' from CryptoCurrency types in CoinbaseCommerce.

* Correct GitHub link for ChargeResource JSDoc in CoinbaseCommerceNode.

* Correct GitHub link for ChargeResource JSDoc in CoinbaseCommerceNode.

* Add ChargeResource interface to CoinbaseCommerceNode.

* Assign ChargeResource to Charge promises in CoinbaseCommerceNode.

* Define response type for Charge callbacks in CoinbaseCommerceNode.

* Add static list() method to CoinbaseCommerceNode Charge module.

* Correct type for search arg in CoinbaseCommerceNode Charge list method.

* Add retrieve() method to CoinbaseCommerceNode Charge resource.

* Make promisified method callbacks optional in CoinbaseCommerceNode Charge resource.

* Add all() method to CoinbaseCommerceNode Charge resource.

* Abstract CoinbaseCommerceNode Charge resource to dedicated Resource interface.

* Add tslint config to coinbase-commerce-node.

* Make init() method of CoinbaseCommerceNode Client static.

* Update Charge and Resource declarations for CoinbaseCommerceNode.

* Add CoinbaseCommerceNode tests.

* Correct formatting of coinbase-commerce-node tsconfig.

* Correct type of local_price in coinbase-commerce-node.

* Register CryptoPricing and addresses as partials in coinbase-commerce-node.

* Correct payments.network type in coinbase-commerce-node.

* Correct payments.value type in coinbase-commerce-node.

* Add JSDoc to exampleReesponse in coinbase-commerce-node-tests.

* Rename charge creation interface in coinbase-commerce-node.

* Set local pricing type to FiatCurrency in coinbase-commerce-node.

* Add CreateCheckout interface to coinbase-commerce-node.

* Make CoinbaseCommerceNode requested_info property of CreateCheckout optional.

* Add CheckoutResource interface to CoinbaseCommerceNode.

* Add Checkout class to CoinbaseCommerceNode resources.

* Add static updateById() method to CoinbaseCommerceNode Checkout resource.

* Add static deleteById() method to CoinbaseCommerceNode Checkout resource.

* Make callbacks of CoinbaseCommerceNode Checkout updateById and deleteById methods optional.

* Add dynamic delete() method to CoinbaseCommerceNode Resource class.

* Update return type of delete() method in CoinbaseCommerceNode Resource class.

* Add insert() method to CoinbaseCommerceNode Resource class.

* Add update() method to CoinbaseCommerceNode Resource class.

* Add checkout create and checkout resource examples to CoinbaseCommerceNodeTests.

* Assert that CoinbaseCommerceNode can create, get, update and delete Checkout resources.

* Correct return types of Checkout and Charge resources of CoinbaseCommerceNode.

* Correct declaration merging for Checkout and Charge resources in CoinbaseCommerceNode.

* Correct type declarations for create responses in CoinbaseCommerceNode.

* Export Pagination type in CoinbaseCommerceNode.

* Test CoinbaseCommerceNode pagination.

* Correct formatting of pagination example in CoinbaseCommerceNode tests.

* Correct Pick<> in CoinbaseCommerceNode Pagination type.

* Correct key name of previous URI in CoinbaseCommerceNode Pagination interface.

* Test resource all() methods in CoinbaseCommerceNode.

* Test CoinbaseCommerceNode resource object methods.

* Update class JSDoc links in CoinbaseCommerceNode.

* Add Event resource to CoinbaseCommerceNode.

* Add Event tests to CoinbaseCommerceNode.

* Merge EventResource with Event class in CoinbaseCommerceNode.

* Correct CoinbaseCommerceNode event pagination tests.

* Add JSDocs to CoinbaseCommerceNode event tests.

* Correct data property type of CoinbaseCommerceNode EventResource.

* Extend ChargeResource with CreateCharge interface in CoinbaseCommerceNode.

* Define optional properties of ChargeResource in CoinbaseCommerceNode.

* Add EXPIRED payment status type to CoinbaseCommerceNode.

* Update eventResponseExample object in CoinbaseCommerceNode tests.

* Add Webhook resource to CoinbaseCommerceNode.

* Test Webhook verifySigHeader method in CoinbaseCommerceNode.

* Disable "no-empty-interface" TSLint inspection for CoinbaseCommerceNode.

* Correct TSLint errors in coinbase-commerce-node.

* Disable no-void-expression for verifySigHeader() test in CoinbaseCommerceNode.

* Set required TypeScript version to 2.8 for CoinbaseCommerceNode.

* Register conditionally required local_price property for CreateCheckout and CreateCharge interfaces in CoinbaseCommerceNode.

* Make 'local_price' optional for UpdateCheckout type in CoinbaseCommerceNode.

* Remove 'local_price' property from CoinbaseCommerceNode ChargeBase.

* Rename 'ChargeBase' to 'BaseCharge' in CoinbaseCommerceNode.

* Use 'CreateCharge' not 'BaseCharge' for CoinbaseCommerceNode Charge class.

* Move 'local_price' of BaseCheckout to CheckoutResource in CoinbaseCommerceNode.

* Omit 'pricing_type' from CreateCheckout in UpdateCheckout type for CoinbaseCommerceNode.

* Extend possible CoinbaseCommerceNode timeline context values.
2019-05-14 14:45:52 -07:00
ulrichbandNathan Shively-Sanders 3daa27e206 Initial typings for 'openid-client' (#35412)
* Initial typings for 'openid-client'

* Update tsconfig.json

* Fix linter errors
2019-05-14 14:44:51 -07:00
Alexander TolkunovandNathan Shively-Sanders 315efa94b5 Add types for wouter (#35403)
* Add types for wouter

* fix lint
2019-05-14 14:44:09 -07:00
Oleg VaskevichandNathan Shively-Sanders 5ba986198d Improve cloneable-readable types (#35452)
* Improve cloneable-readable types

* Fix up formatting
2019-05-14 14:43:25 -07:00
Dan RumneyandNathan Shively-Sanders 8dfd127a63 [Sequelize]: scope should be supported for all association types (#35420)
* [Sequelize]: Adding support for association scopes on all associations

* [Sequelize]: Adding support for association scopes on all associations
2019-05-14 14:36:15 -07:00
Thibaut FatusandNathan Shively-Sanders 81fc741f8d feat: add missing topOffset and leftOffset props to scroll-into-view Alignment (#35428) 2019-05-14 14:35:27 -07:00
Abe HendricksandNathan Shively-Sanders c8865c4fa2 [react-map-gl]: Added event parameter for onLoad event. (#35424)
* Added string union type for width & height.
Added MapLoadEvent interface for use with onLoad function.

* Revert "Added string union type for width & height."

This reverts commit e955a1ec2c974c8e2f5aae392799880cbaa84c81.

* Added event parameter with type to onLoad event.
2019-05-14 14:34:53 -07:00
Kyle ScullyandNathan Shively-Sanders fe360db51e feat(backbone): add preinitialize class method (#35419) 2019-05-14 14:34:32 -07:00
Ryan AtkinsonandNathan Shively-Sanders 8d2d0fe08c fix(prettier): make SupportOption choices an array (#35429) 2019-05-14 14:33:39 -07:00
James BarzegarandNathan Shively-Sanders 49764a29bc [Rebass] Update rebass base props to facilitate use of string or css function (#35405)
* [rebass] update BaseProps css type

* updated test

* Fixed incorrect type declaration
Updated test
2019-05-14 14:32:36 -07:00
Chris BarthandNathan Shively-Sanders e23911b784 Update typings for passport-saml v1.1 (#35404)
* Update typings for passport-saml v1.1

* Change type per review comment
2019-05-14 14:30:03 -07:00
Emilien EscalleandNathan Shively-Sanders f930254275 Fix randomColor return type (#35402)
If count option is greater than 1, randomColor returns an array of colors
2019-05-14 14:28:09 -07:00
Dan RumneyandNathan Shively-Sanders 619310c8f1 [Auth0] Add explicit typing support for User and App Metadata (#35406) 2019-05-14 14:27:14 -07:00
Pedro MutterandNathan Shively-Sanders a29501aac1 Change reference node type (#35446)
* simplecrawler modules type definition

* required fixes in export

* adjustments reference types of crawler.d.ts
2019-05-14 14:25:11 -07:00
Lundarl GholoiandNathan Shively-Sanders 843d09bf78 [cron] Fix global function issue (#35411) 2019-05-14 14:24:31 -07:00
Junyoung Clare JangandNathan Shively-Sanders 518721a416 Remove Ailrun from DT author (#35421) 2019-05-14 14:23:53 -07:00
AurélienandNathan Shively-Sanders f48741ceab [algoliasearch] remove aherve from contributors (#35439)
* [algoliasearch] remove aherve from contributors

* fixup! [algoliasearch] remove aherve from contributors
2019-05-14 14:23:13 -07:00
philip-alldredgeandNathan Shively-Sanders a7237be1b6 Added mixin property to rest.Response (#35328) 2019-05-14 14:13:45 -07:00
Alexander CeruttiandNathan Shively-Sanders b28b3e6a1f Added support for string type to node-forge's pkcs7 addCertificate and signerKey (#35383) 2019-05-14 14:09:12 -07:00
Phil MarshallandNathan Shively-Sanders f86861a8e0 HtmlTemplate can have arbitrary properties (#35300) 2019-05-14 14:08:34 -07:00
Tyler JonesandNathan Shively-Sanders 0deec57c72 [@types/algoliasearch] Fix Task#taskID (#35357)
* [@types/algoliasearch] fix Task#taskID

https://www.algolia.com/doc/api-reference/api-methods/batch/?language=javascript#json-format

* fixup Use different task types for different calls
2019-05-14 14:08:04 -07:00
Matt LavinandNathan Shively-Sanders b37b146e13 fix(stripe): Fix application_fee on IChargeCreationOptions (#35331) 2019-05-14 14:04:24 -07:00
Alan Christopher ThomasandNathan Shively-Sanders 2e56cef0c5 Allow build subs parameter to accept objects (#35351) 2019-05-14 14:02:53 -07:00
kahirokunnandNathan Shively-Sanders fd4c71f928 [fix] Correct itemStyle of PickerPropsIOS type is StyleProp<TextStyle> (#35394) 2019-05-14 14:01:16 -07:00
FelipeandNathan Shively-Sanders e096d6a6b4 [bull] add removeRepeatableByKey to Queue interface (#35396) 2019-05-14 13:57:38 -07:00
briwaandNathan Shively-Sanders 3036b5af27 fix(sylvester): vector rotate should be able to take matrix as well (#35391) 2019-05-14 13:57:19 -07:00
olivier-kickstandandNathan Shively-Sanders 145a1e1ad5 Update to match latest version of package (#35384)
https://github.com/faceyspacey/redux-first-router/tree/master/examples/thunks#pathless-routes

> A pathless route is a `routesMap` entry without a `path`
2019-05-14 13:51:17 -07:00
wujingtaoandNathan Shively-Sanders a22f9a688e Update koa-sslify. Change module export from commonjs to esmodule (#35377)
* Update index.d.ts

* Update koa-sslify-tests.ts
2019-05-14 13:50:49 -07:00
Tomáš VyčítalandNathan Shively-Sanders 136dd4d7d7 Terminal-kit: argument width in GridMenuOptions is optional (#35388) 2019-05-14 13:47:20 -07:00
Matt R. WilsonandNathan Shively-Sanders bcfb2c65f2 [nock] Fix Interceptor.reply. (#35385)
I was working on removing the `no-any-union` lint override and realized
that `any` was being used in several places where a plain objected was
intended. It was also covering up that reply bodies can be Buffers or
Streams.

[Docs for specifying replies](https://github.com/nock/nock#specifying-replies)

Note: There was a bug in place. Previously, the types allowed for `reply`
to take two args, a callback and an object of headers. However, this
form is not documented and turns out to not be functional when
inspecting [the source](https://github.com/nock/nock/blob/cb56669e0bee13dfa9c668ecb3d0efb714f6240c/lib/interceptor.js#L68-L72).

I’ve confirmed with the lib maintainers that the bug was in `@types`.
https://github.com/nock/nock/issues/1513
2019-05-14 13:46:33 -07:00
ulrichbandNathan Shively-Sanders ba4b237d16 [proper-lockfile] Add retry *options * to union (next to number) (#35375)
* Add `retry` *options * to union (next to `number`)

* Update TS version (because of the new "retry" dependency)

* Increase the version number

* Add definition author
2019-05-14 13:43:36 -07:00
strange-fishandNathan Shively-Sanders 14effc6d16 fix error when method and onLoad have params (#35339) 2019-05-14 13:23:57 -07:00
Michael NahkiesandNathan Shively-Sanders a1302810f3 improve qrcode types (#35367)
- add type for error correction level
- change toCanvas to accept renderer options
- add file stream options, and change toFileStream to use
2019-05-14 13:19:07 -07:00
Kieran CarnegieandNathan Shively-Sanders 4bdd64a6b9 [screeps] Release 2.5.4 (#35376) 2019-05-14 13:18:44 -07:00
Nathan Shively-SandersandGitHub 3b1a96b6f9 lodash: Chain conditional types ignore null | undefined (#35409)
* Add PrimitiveChain.get

since .get chains undefined in lodash.

* *Chain conditionals: null|undefined -> never

Instead of Primitive<null | undefined>. This reflects lodash behaviour
better most of the time.

* Remove Primitive.get

It's unneeded to fix #35400

* Update lowdb tests
2019-05-14 13:16:45 -07:00
Nathan Shively-SandersandGitHub a43fa1d53d Collection.values() returns T[] not ArrayLike<T> (#35442)
This is optimistic, but usually right.
2019-05-14 13:14:45 -07:00
Benjamin TurnerandNathan Shively-Sanders 5f8fe32ce2 Fix colornames default export type definition (#35354)
* update colornames types

* add name

* fix linter errors

* feedback
2019-05-14 13:13:02 -07:00
Taeheon KimandNathan Shively-Sanders 3b625a5f37 [storybook-readme] Add new feature importing addReadme from html (#35380)
* Add new feature importing addReadme from html

* Fix  lint

* Fix test errors
2019-05-14 11:27:45 -07:00
Takuma SuzukiandNathan Shively-Sanders ed9f3a7454 [@types/nanoid] Add type definitions for nanoid/async/(random|generate|format) (#35335)
Fix typo
2019-05-14 11:22:39 -07:00
Rodrigo Vieira de AlencarandNathan Shively-Sanders 7c638953ae Update prosemirror-tables to 0.8 (#35334) 2019-05-14 11:22:08 -07:00
Oliver Joseph AshandNathan Shively-Sanders a22c13dda0 Lodash: mapValues: fix usage with type aliases (#35342)
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/27154
2019-05-14 11:20:55 -07:00
Oliver Joseph AshandNathan Shively-Sanders c64cd6e7c5 Lodash: negate: add tests for rest parameters (#35341)
Re. https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35273
2019-05-14 11:19:03 -07:00
forehaloandNathan Shively-Sanders 88e5702d52 mixin could receive arguments (#35312) 2019-05-14 11:16:20 -07:00
Brad ZacherandNathan Shively-Sanders e7ef1fe681 [requireindex] Add types for v1.2 (#35360) 2019-05-14 11:15:10 -07:00
Robert BrownsteinandNathan Shively-Sanders b7f07cfbbd Add type definitions for cryptex (#35345)
* Add type information for cryptex module

* update tests

* Add test file to 'files'

* fix definitions for cryptex

* create additional tests
2019-05-14 11:13:56 -07:00