Commit Graph
62458 Commits
Author SHA1 Message Date
Gregor Martynus 7dda14dff5 fetch-mock: response header values are always strings (#35502)
follow up for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35462#issuecomment-492769019
2019-05-15 16:00:02 -07:00
Ben Grynhaus b578fe0b29 improve facebook-js-sdk types (#35467) 2019-05-15 15:51:41 -07:00
Dmitry Patsura 3a0cae806d Feature(react-native): Fix Platform module definition (#35393) 2019-05-15 23:46:10 +02:00
Zhang Yi Jiang d15131099b [react-mentions] MentionInput should extend textarea props (#35352) 2019-05-15 13:17:20 -07:00
Jeffry Angtoni fa6704c2ba feat(d.ts): add random-useragent type definition (#35493) 2019-05-15 12:37:50 -07:00
Nathan Shively-Sanders bd511dccbb Update url and switch form-urlencoded to export= (#35498)
* Update url and switch form-urlencoded to export=

Only the newer version uses export default. The version that DT has
types for still uses export=.

* Fix spacing in test
2019-05-15 12:37:05 -07:00
Vlad Jerca 1d2186a021 jsonpack: add type defintiions (#35492) 2019-05-15 12:34:25 -07:00
Christos Dimitroulas 732bac2f7d @types/mongodb - Add MongoNetworkError & MongoParseError classes (#35484)
* add MongoNetworkError class and add name property to MongoError

* add MongoParseError class

* add basic tests
2019-05-15 12:34:08 -07:00
Gavin Rehkemper 53c650287b [js-beautify] add space_in_empty_paren property (#35491) 2019-05-15 12:32:37 -07:00
Cassey Lottman 7275a4d75a remove self from maintainers list (#35494) 2019-05-15 12:31:56 -07:00
Herman (Von) Waters 170b1c478b [mui-datatables] Muidatatables 2.1 (#35329)
* added the 'empty' boolean to the MUIDataTableColumnOptions and 'React.ReactNode' to the 'customHeadRender' it still requires TableRow and TableCell

* added name and updated versions to most recent

* removed minor update notation

* fixed header notation

* added new line at the end of the doc

* reverted the typescript version as per request

* added the new onDownload function for version 2.1, increased version, sorted options alphabetically to easier find properties
2019-05-15 10:38:42 -07:00
Vsevolod d5e01247c7 [@types/underscore] Add array as key for property (#34998)
* [@types/underscore] Add array as key for `property`

* [@types/underscore] Fix review issue
2019-05-15 10:38:09 -07:00
Søren Englund 0efa64a8ba added types for camelcase-keys-deep (#35458)
* added types for camelcase-keys-deep

* Refactored test file and removed namespace declaration from index.d.ts
2019-05-15 09:51:38 -07:00
月迷津渡 36e47f5333 Add types for react-pdf (#35317)
* Add types for react-pdf

* [react-pdf] enable strictNullChecks and remove Function types
2019-05-15 09:50:55 -07:00
Manuel Thalmann 3daa0d2fd3 Add types for tablesorter (#35488)
* Add type-declarations for the tablesorter

* Adjust types for readonly-arrays

* Move the test-scripts to a separate directory

* Add strict null-checks
2019-05-15 09:25:27 -07:00
katsanva b6fc18280b Add types for dynamodb module (#35398)
* Add types for dynamodb module

* Removed aws-sdk dependency
2019-05-15 09:22:45 -07:00
Micha J 6342dd5bf0 Update index.d.ts for gridstack (#35161)
* Update index.d.ts

Added missing jsdoc documentation for addWidget().
Also allow parameter id of addWidget() to be a string.
Removed unneccessary whitespaces.

* Documentation refinement of addWidget() function

Refined the documentation (mainly to force rebuild on GitHub as the build system had trouble after the last commit)

* Removed dt-header, altered documentation header

Removed dt-header.
Added version number and formated contributer list.
Removed unneccessary documentation header in gridstack-test.ts.
2019-05-15 09:10:46 -07:00
Jake Gavin c926d9f7b5 add missing DEFAULT_EXTENSIONS type (#35336) 2019-05-15 09:09:42 -07:00
Ian Rudge 2e1661853a [react-native-actionsheet]: add type definitions (#35459) 2019-05-15 09:08:14 -07:00
Sam Rubin 14a6f1dddd [braintree] Implements definitions for braintree (#35461) 2019-05-15 09:07:56 -07:00
Ian Rudge 5845f55fba [react-native-swipe-gestures]: add type definitions (#35465) 2019-05-15 09:07:23 -07:00
taoqf a85998b8f2 add types: react-native-audio (#35466)
* wxapp: add FileSystemManager

* fix: add interface

* uppercase interface name

* add types react-native-audio
2019-05-15 09:01:50 -07:00
Kevin Pollet 5f983eff84 Add type definitions for flat-cache (#35472) 2019-05-15 09:01:38 -07:00
Luca Adrian L dbe44d6d01 - Added dbus typings (#35481) 2019-05-15 09:00:07 -07:00
Piotr Roszatycki 3492c0644a yadda: createInstance accepts Context.Properties too (#35486)
* yadda: createInstance accepts Context.Properties too

* yadda: consistent quotes
2019-05-15 08:59:29 -07:00
vanessa-lyn df449e96f4 ADA-1835: Update @types/doubleclick-gpt to the latest version (#35390)
* updating doubleclick-gpt to the latest version v2019041801

* updating definitions and version number

* fixing errors

* adding myself as contributor for my very minor additions.

* adding new event listeners to the Service.addEventListener
2019-05-15 08:55:24 -07:00
aDEVEandJonathan Montane e271ccd80b [algoliasearch]: Add type for algolia places (#35399)
* 🚧 Add typescript

* 📓 Add comments

* 📓 Add reverse endpoint

* 📓 Add Promise version

* 📓 Update some type due feedback code review

* 📓 Update architecture of type

* Update types/algoliasearch/index.d.ts

Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>

* Update types/algoliasearch/index.d.ts

Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>

* Update types/algoliasearch/index.d.ts

Co-Authored-By: Jonathan Montane <JonathanMontane@users.noreply.github.com>
2019-05-15 08:54:19 -07:00
Julian Hundeloh 4d5394b6b5 fix(node-pushnotifications): add return messages (#35308)
* fix: add return messages

* fix: add namespace

* test: add test

* fix: return array of results
2019-05-15 08:53:35 -07:00
Gregor Martynus 8fce723803 fetch-mock: allow headers[name] to be set to number (#35462) 2019-05-15 08:52:38 -07:00
ltlombardi d1f854d655 Knockout.mapping jsdocs, tests and typing overhall (#35343)
* Small fix

* - fixed KnockoutMappingOptions wrong typing.
- overhall of typing.
- add JSDoc.
- add Undocumented when method doesn't have documentation.
- complete new tests.

* Small fixes for tslint
2019-05-15 08:52:18 -07:00
John L. Singleton 35bb587692 express-http-proxy - Exposing ProxyOptions and Adding parseReqBody as an Option (#35455)
* - adding option for parseReqBody
- making ProxyOptions visible

* adding two tests

* fixing lint - adding contributor
2019-05-15 08:50:20 -07:00
katsanva 803b822ff3 Fix #35471, fix #34712 (#35476) 2019-05-15 08:48:29 -07:00
Cassey Lottman a36a951bda remove myself from definition contributors list (#35487) 2019-05-15 08:46:14 -07:00
PikachuEXE 1957e4cb6a Add definition for photoswipe item property msrc (#35430) 2019-05-14 16:13:11 -07:00
Piotr Roszatycki 7e3a0af1c1 yadda: New typings (#35454) 2019-05-14 16:12:50 -07:00
Eric Taylor 23946e425c Add styletron-react types (#35349)
* add styletron-react types

* fix package.json and set min TypeScript version to 2.9

* remove unnecessary package.json

* fix issues causing npm test to fail

* refactor unnecessary double typing
2019-05-14 16:08:28 -07:00
Micah Zoltu ec0f814673 [elliptic] Adds Uint8Array as a BNInput (#35326)
https://github.com/indutny/bn.js/blob/master/lib/bn.js#L144
```javascript
  BN.prototype._initArray = function _initArray (number, base, endian) {
    // Perhaps a Uint8Array
    assert(typeof number.length === 'number');
```
2019-05-14 15:52:10 -07:00
Miguel Mota c287a3c2de [truffle-privatekey-provider] Add type definitions (#35359)
* [truffle-privatekey-provider] Add type definitions

* Add file to files list

* Remove tslint rules
2019-05-14 15:01:46 -07:00
I Komang Suryadana 069ae6d491 Wednesday, 15 May 2019. (#35448)
1. Add vue2-editor types.
2019-05-14 14:56:47 -07:00
Eon S. Jeon 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 Kenney 216d877abf add xml-escape typings (#35449) 2019-05-14 14:55:43 -07:00
John Hamelink 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ş 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 Ahmadi c46c58352f Add tunnel-ssh (#35417) 2019-05-14 14:48:17 -07:00
Jørgen Vatle 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
ulrichb 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 Tolkunov 315efa94b5 Add types for wouter (#35403)
* Add types for wouter

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

* Fix up formatting
2019-05-14 14:43:25 -07:00
Dan Rumney 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 Fatus 81fc741f8d feat: add missing topOffset and leftOffset props to scroll-into-view Alignment (#35428) 2019-05-14 14:35:27 -07:00