Commit Graph
63636 Commits
Author SHA1 Message Date
Drazke 4215ed1fab Add type BalanceTransaction for stripe (#37151) 2019-07-26 10:56:20 -07:00
vladimir 0fad232263 [leaflet] Update types for leaflet version 1.5 (#37091)
* Update leaflet types to version 1.5

* Add tests for new SVGOverlay in leaflet.
2019-07-26 10:55:58 -07:00
Stephen Farrar b5d986a145 Add support for asymmetricMatch. (#37146)
See https://jasmine.github.io/tutorials/custom_argument_matchers
2019-07-26 10:55:17 -07:00
Spencer Miskoviak b12a3052a7 Add the ignoreOrder option to MiniCssExtractPlugin (#37140)
* Add the ignoreOrder option to MiniCssExtractPlugin

* Fix linting issues

* Update version number
2019-07-26 10:53:25 -07:00
kenhuman 2b71012c26 Update jsforce interfaces, function definitions (#37021)
* make type optional in create, update, upsert
implement RetrieveRequest, associated interfaces

* fix spacing
2019-07-26 10:50:10 -07:00
Derek Sifford c76ed19786 [@wordpress/editor] add new definitions (#37141)
* add misc helper types to @wordpress/api-fetch

* [@wordpress/block-editor] add missing property to EditorInserterItem

* [@wordpress/editor] add new definitions

* format files
2019-07-26 10:49:17 -07:00
Simon Trény a031f03c2c [detox] Add missing tapBackspaceKey() and tapReturnKey() methods (#37129) 2019-07-25 16:22:58 -07:00
Haseeb Majid cc53e7ccbe Added react-native-app-intro-slider (#37137)
* Added react-native-app-intro-slider

Added react-native-app-intro-slider.

* Fixed pipeline error

Removed semicolon to fix pipeline error.
2019-07-25 16:21:26 -07:00
Michael Crane efa2c81aab Add types for new package @microsoft/typescript-etw (#37138)
* Add types for '@microsoft/typescript-etw'

* Add more authors
2019-07-25 16:20:45 -07:00
kenhuman e244bc5f6b add extract function to CentralDirectory (#37020)
add missing properties to File
add concurrency to ParseOptions
2019-07-25 12:38:04 -07:00
Brian Chen 93d2ff3aad Update Model.discriminator signature and add Map type (#36979)
- updated `Model.prototype.discriminator` with `value` argument
  (see mongoose@5.0.8 / mongoose#6100)
- added `Map` type to `mongoose.Types` and `mongoose.Schema.Types`
  (see mongoose@5.1.0 / mongoose#6287)
2019-07-25 12:32:39 -07:00
mfedderly 9d0023e630 Add types for flatbush and geoflatbush packages (#37113)
* Add types for flatbush and geoflatbush packages

* Cleanup

* cleanup

* fix
2019-07-25 12:19:33 -07:00
Eric Wang bf3b32a1da Add Type to parse-package-name (#37124)
* New: Add parse package name

* add test

* .

* .

* .

* .

* .

* .

* .

* .
2019-07-25 12:18:54 -07:00
Suntharesan Mohan 419827787f Lambda tester strongly type (#37127)
* Apply typing based on `aws-lambda` handler type

* Add confitional check for verifier
2019-07-25 12:16:42 -07:00
Paul Hawxby dcf4bb9cad fix(got): add request to options (#37133) 2019-07-25 12:02:35 -07:00
Kimmo Hintikka 1710f3d757 useNativeDeviceInfo type to support react-native use of amplitude.js 5.2.2 (#37126)
* Update index.d.ts

Added useNativeDeviceInfo to support react native on typescript

* update definitions text

* Corrected userNativeDeviceInfo to useNativeDeviceInfo
2019-07-25 12:00:26 -07:00
Félix VEYSSEYRE 6a5a551178 Add Mongoose model exists type (#37052) 2019-07-25 11:59:49 -07:00
Pablo Saez 1dae31a517 Update index.d.ts (#37122)
As you can check in [line 22 and 196](https://github.com/Automattic/mongoose/blob/master/lib/helpers/populate/getModelsMapForPopulate.js) the populate function can also accept an entire mongoose model.
You can check the [documentation](https://mongoosejs.com/docs/populate.html#cross-db-populate) too where they show this feature
2019-07-25 11:59:03 -07:00
Jason Hoetger cd93da5f10 [stripe] Added types for Paymenet Method API (#37120)
* [stripe] Added types for Paymenet Method API

* Using IListPromise instead of Promise<IList> for PaymentMethods.list

* Auto-formatting updates
2019-07-25 11:58:22 -07:00
Simon Schick 545b3be2ae feat(puppeteer): v1.19 (#37084) 2019-07-25 11:56:39 -07:00
Cruz Molina 70755ec0f5 add deepStrictEqual type (#37116)
* add deepStrictEqual type

* rm trailing whitespace

* fix typo
2019-07-25 11:48:57 -07:00
Eric Hwang 67fb9d962c [sharedb] Export middleware namespace, switch some JSON types to any (#37110)
* It's often useful to pass middleware Context instances into other functions, so export the middleware namespace to allow the Context types to be referenced.
* Loosen some JSONObject and JSONValue to any. This allows access into nested properties, which is a common use-case in Share.
2019-07-25 11:38:10 -07:00
Cahil Foley 3645f6c5db [mssql] Fix incorrect Table and Request interfaces (#37123)
* [mssql] align bulk method signatures with implementation

* [mssql] add optional table path properties

These properties go alongside the optional tableName parameter as per [this part of the table script](https://github.com/tediousjs/node-mssql/blob/6188de3a83c1ce55cf28c1c5875b4a5f7c636de6/lib/table.js#L10-L17)

* [mssql] add optional temporary property to Table class
2019-07-25 11:36:01 -07:00
Harry 5fd76280b3 [stripe] Add expandable properties to checkout session (#37005)
* [stripe] Add expandable properties to checkout session

* Add type assertions to checkout session tests
2019-07-25 11:34:57 -07:00
Prateek Malhotra d376c1624e plaid-link: Update config params (#36992)
Signed-off-by: Prateek Malhotra <someoen1@gmail.com>
2019-07-24 13:10:27 -07:00
Paul Marbach d4a4c4472d [@types/combine-reducers] initial commit (#37090) 2019-07-24 13:06:59 -07:00
sergey12313 f130553d6c Add types for num2fraction (#37101) 2019-07-24 13:06:12 -07:00
Connor Fitzgerald d2ff8e17ea Adding @types/clear (#37102)
* WIP updating oracledb typings to 3.1.2

* WIP

* SODA WIP

* .d.ts done. Needs tests writing

* Finished

* Added pool stats methods. Fixed bug with BindParameter being string or number

* Making _enableStats optional

* Allow parameters to be nulled

* Capitalise namespace

* Update contribution URL

* Revert "Update contribution URL"

This reverts commit f329d293dceaf44832ae3424753c1ccb98378df2.

* Update contribution URL

* Change poolAlias to string. SODA not in preview. Add BindParameters interface

* getRows should not return void

* Added pino-std-serializers

* Adding @types/clear
2019-07-24 13:05:52 -07:00
breeze9527 e7080fe860 Add type definition for non npm-package amap-js-api-station-search (#37106) 2019-07-24 13:03:40 -07:00
Jonathan Mannancheril 5b25a9a40c Add definitions for hide() and show() (#37013) 2019-07-24 12:57:59 -07:00
Michail Shipov 389da87fce add retryCount to Response (#37109) 2019-07-24 12:56:18 -07:00
brycematheson1234 59858d9d64 swagger-ui-dist additional typing (#37067)
* Initial commit

* Making linter happy
2019-07-24 12:55:51 -07:00
Jason Hoetger 1a90baaee6 Added additional properties for Payment Intents (#37054) 2019-07-24 12:54:01 -07:00
Haroen Viaene 4e23957ab6 [airtable]: add extra functions (#37058)
* [airtable]: add extra functions

I got a little lazy at the end trying to figure out what all the parameters are, but at least they're now there, another PR can improve them.

Ref: https://github.com/Airtable/airtable.js/blob/master/lib/table.js#L23

* Update index.d.ts
2019-07-24 12:51:32 -07:00
Haroen Viaene 80fb14bda4 [airtable]: field can also be array (#37060) 2019-07-24 12:48:43 -07:00
Jorge M. Abdalla 7001b59f25 [react-input-mask] Change interface for React [ts 2.9] (#37075)
Change interface for int react-input-mask for new definition on React typescript version 2.9
2019-07-24 12:44:59 -07:00
_haochuan bf4b5e76bd add optional args support in runloop.run (#37062)
* add optional args support in runloop.run

* add additional tests for runloop.run

* remove trailing whitespace

* remove trailing whitespace
2019-07-24 12:40:56 -07:00
Haroen Viaene 70ba0dd2b4 [algoliasearch] add method addAlgoliaAgent (#37105)
source: https://github.com/algolia/algoliasearch-client-javascript/blob/5c1ce1308749aa0807940456393aa23ae46fb9eb/src/AlgoliaSearchCore.js#L173
2019-07-24 12:37:30 -07:00
Tomasz Zabłocki 2ccc2ff364 [@types/redux-orm] fix: correct Model.exists signature and remove Model.toRefArray/Model.toModelArray functions (#37108) 2019-07-24 12:35:09 -07:00
Marais Rossouw 803471797f [relay-runtime]: RecordSource exposes a toJSON method too (#36975)
* chore: RecordSource exposes a toJSON method too

* chore: Use Record from TS
2019-07-24 20:08:29 +02:00
Alex 2830f886c2 Expose futureEmitAssets API (#37093)
* Expose `futureEmitAssets` API

* Fix linter
2019-07-24 07:48:26 +01:00
Henrik Raitasola e1f00aa62b [ValidatorJS] Add isISO31661Alpha3 (#36978)
* Add isISO31661Alpha3

* Move to new structure
2019-07-23 13:07:59 -07:00
breeze9527 fb12970ec3 Add type definition for non npm package: amap-js-api-riding (#37079)
* [amap-js-api] update to v1.4.14

* Add definition for non npm package: amap-js-api-district-search

* Add type definition for non npm-package amap-js-api-line-search

* Add type definition of non npm package amap-js-api-arrival-range

* New definition for non npm-package amap-js-api-driving

* Add type definition for non npm package: amap-js-api-riding
2019-07-23 12:57:45 -07:00
Derek Sifford 72d53f699b [@wordpress/media-utils] add new definitions (#37083) 2019-07-23 12:56:21 -07:00
Derek Sifford 45283fb382 [@wordpress/core-data] add new definitions (#37086)
* [@wordpress/core-data] add new definitions

* fix format
2019-07-23 12:56:04 -07:00
Luis Pais 08fde90f0f [@types/mongodb] Added withTransaction definition and another necessary type. (#37085)
* [@types/mongodb] added withTransaction definition

* Added missing semicolon.
2019-07-23 12:54:18 -07:00
Pavel Ivanov ab9994e1e7 [stripe] add missed parameter into PaymentIntent API setup_future_usage (#36948)
* Add missed parameter into PaymentIntent API:

As per https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage
PaymentIntents have `setup_future_usage` parameter which indicates that you intend to make future payments
with this PaymentIntent’s payment method.

* Fix linting errors
2019-07-23 12:53:31 -07:00
neilbryson c834ce1f65 [node-vault] add missing definitions (#37019) 2019-07-23 12:51:56 -07:00
Harry 47fb6ba276 [stripe-v3] Update Stripe checkout types to include server implementation (#36856)
* Update Stripe checkout types to include server implementation

There are 2 ways to use Stripe Checkout: the client implementation and
the server implementation. The former requires more parameters, such as
redirect URLs and the products for the checkout session. In the server
implementation the session is created server-side so the only parameter
required for `redirectToCheckout` is the session ID.

* Move tslint rule disablement to specific line
2019-07-23 12:40:44 -07:00
Alexandre Couret 449c42470f [googlepay] Add INTERAC in AllowedCardNetwork (#37078)
* [ADD] INTERAC as an AllowedCardNetwork

* [FORMAT]
2019-07-23 12:39:26 -07:00