Commit Graph
63600 Commits
Author SHA1 Message Date
_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
Lasell 7484adf373 [node-fetch] extend Response type (#37069)
* extend Response type

* bumped version number
2019-07-23 12:38:51 -07:00
Kai d474b990d3 [@types/mapbox-gl] Add Map.triggerRepaint (#37071)
* [@types/mapbox-gl] Add Map.triggerRepaint

* [@types/mapbox-gl] fix indentation style
2019-07-23 12:37:17 -07:00
Michael Chappell 178510c94f react-native-material-dropdown: onChangeText props requires array, not object (#36980)
* Update index.d.ts

the data prop passed by react-native-material-dropdown passes an array, not an object

* update definitions by
2019-07-23 12:37:05 -07:00
Julian HundelohandRodrigo Saboya 87f5dc0c2e (@hapi/nes) fix: add reauthenticate method (#37072)
* fix: add reauthenticate method

* fix: add test

* Update types/hapi__nes/lib/client.d.ts

Co-Authored-By: Rodrigo Saboya <saboya@users.noreply.github.com>
2019-07-23 12:36:37 -07:00
Andrea 5e51687559 [@types/bootbox] Update and add options (#37051)
* add missing options

* add tests for new options
2019-07-23 12:36:12 -07:00
neilbryson f4bb1a2b74 [swagger-jsdoc] Allow typings to work with --esModuleInterop flag disabled (#37063)
Min TypeScript version decreased from 2.8 to 2.2
2019-07-23 12:35:52 -07:00
SetsunandMasafumi Koba cdc97f0f4e feat(react-transition-group): types for v4.2 (SwitchTransition) (#37061)
* feat(switchtransition): types for switchtransition

* fix(lint): fix linting errors

* fix(tests): add tests for switchtransition

* Update types/react-transition-group/SwitchTransition.d.ts

Co-Authored-By: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
2019-07-23 12:35:02 -07:00
mmsqe 1952d0c7d8 [@types/libra-core]: add missing keyPair attribute for Account (#37082) 2019-07-23 12:32:18 -07:00
Anders Hejlsberg b4584a24c7 Prepare for TS #32460 (#37057)
* Prepare for TS #32460

* Revert change
2019-07-23 10:15:26 -07:00
bookmoons 518db0303d [k6] Add type documentation (#37056)
* k6: Document fail

* k6: Remove docs link

Complete docs are included in the doc comment.

* k6: Document group

* k6: Document sleep

* k6: Order signature docs before remarks

Renders more usefully in Visual Studio Code.

* k6: Document check

* k6: Space documented declarations

* k6: Space section headers

* k6: Document method releases

* k6: Simplify check documentation

* k6: Simplify fail documentation

* k6: Simplify group documentation

* k6: Document package

* k6: Compress documentation

* k6: Document Checker

* k6: Document Checkers

* k6: Link to check docs

* k6: Link to fail docs

* k6: Link to group docs

* k6: Link to sleep docs

* k6: Correct returns tag

* k6: Document check type param

* k6: Document group return type

* k6: Document byte

* k6: Document bytes

* k6: Document JSON types

* k6: Configure API Extractor

Enables validating docs with:
mkdir -p etc; api-extractor run -c api-extractor.json -l

* k6: Ignore docs build

* k6: Document doc comment validation

* k6: Disable API report generation

* k6: Disable doc model generation

* k6: Disable .d.ts rollup generation

* k6: Disable TSDoc metadata generation

* k6: Document typeParam tag warnings

* k6/global: Document module

* k6/global: Normalize section comments

* k6/global: Document open

* k6/global: Document __ENV

* k6/global: Refine __ENV type

* k6/global: Document __VU

* k6/global: Document __ITER

* k6/global: Document console

* k6/global: Normalize VU logic references

* k6: Improve section header visibility

* k6/crypto: Document module

* k6/crypto: Document randomBytes

* k6/crypto: Document hmac

* k6/crypto: Document md4

* k6/crypto: Document md5

* k6/crypto: Document sha1

* k6/crypto: Document sha256

* k6/crypto: Document sha384

* k6/crypto: Document sha512

* k6/crypto: Document sha512_224

* k6/crypto: Document sha512_256

* k6/crypto: Document ripemd160

* k6/crypto: Document createHash

* k6/crypto: Document createHMAC

* k6/crypto: Link to createHash docs

* k6/crypto: Document Algorithm

* k6/crypto: Document StringEncoding

* k6/crypto: Document BinaryEncoding

* k6/crypto: Document OutputEncoding

* k6/crypto: Document Output

* k6/crypto: Document Hasher

* k6/crypto: Document Hasher#update

* k6/crypto: Document Hasher#digest

* k6/crypto: Update formatting

Repo formatter really wants it this way.

* k6/encoding: Document module

* k6/encoding: Document b64encode

* k6/encoding: Document b64decode

* k6/encoding: Document Base64Variant

* k6/html: Document module

* k6/html: Document parseHTML

* k6/html: Add section headers

* k6/html: Document Selection

* k6: Disable redundant JSDoc check

Incorrectly applies to our TSDoc doc comments.

* k6/global: Add missing semicolon

* k6/global: Correct test

* k6/html: Update tests

* k6/html: Accept overloads for documentation

The overloads in these cases produce more natural IntelliSense
rendering of the documentation.

* k6/html: Document FormValue

* k6/html: Document Tester

* k6/html: Document Handler

* k6/html: Document Mapper

* k6/html: Qualify FormValue description

* k6/html: Normalize section header language

* k6/html: Document Attribute

* k6/html: Document NodeType

* k6/html: Document Element

* k6/html: Document AnchorElement

* k6/html: Document AreaElement

* k6/html: Link to Element docs

* k6/html: Document AudioElement

* k6/html: Document BaseElement

* k6/html: Document ButtonElement

* k6/html: Document CanvasElement

* k6/html: Document DataElement

* k6/html: Document DataListElement

* k6/html: Document DelElement

* k6/html: Document EmbedElement

* k6/html: Document FieldSetElement

* k6/html: Document FormElement

* k6/html: Document FormFieldElement

* k6/html: Document HrefElement

* k6/html: Document IFrameElement

* k6/html: Document ImageElement

* k6/html: Document InputElement

* k6/html: Document InsElement

* k6/html: Document KeygenElement

* k6/html: Document LabelElement

* k6/html: Document LegendElement

* k6/html: Document LiElement

* k6/html: Document LinkElement

* k6/html: Document MapElement

* k6/html: Document MediaElement

* k6/html: Document MetaElement

* k6/html: Document MeterElement

* k6/html: Document ModElement

* k6/html: Document ObjectElement

* k6/html: Document OListElement

* k6/html: Document OptGroupElement

* k6/html: Document OptionElement

* k6/html: Document OutputElement

* k6/html: Document ParamElement

* k6/html: Document PreElement

* k6/html: Document ProgressElement

* k6/html: QuoteElement

* k6/html: Document ScriptElement

* k6/html: Document SelectElement

* k6/html: Document SourceElement

* k6/html: Document StyleElement

* k6/html: Document TableBodyElement

* k6/html: Document TableCellElement

* k6/html: Document TableColElement

* k6/html: Document TableDataCellElement

* k6/html: Document TableElement

* k6/html: Document TableFootElement

* k6/html: Document TableHeadElement

* k6/html: Document TableHeaderCellElement

* k6/html: Document TableRowElement

* k6/html: Document TableSectionElement

* k6/html: Document TextAreaElement

* k6/html: Document TimeElement

* k6/html: Document TitleElement

* k6/html: Document TrackElement

* k6/html: Correct MediaElement#textTracks return type

* k6/html: Document UListElement

* k6/html: Document VideoElement

* k6/html: Update HrefElement test

* k6/http: Document module

* k6/http: Add section headers

* k6/http: Normalize refined params type name

* k6/http: Normalize refined batch request type names

* k6/http: Remove generics justification

* k6/http: Document del

* k6/http: Document get

* k6/http: Document options

* k6/http: Document patch

* k6/http: Document post

* k6/http: Document put

* k6/http: Document request

* k6/http: Document batch

* k6/http: Document file

* k6/http: Document cookieJar

* k6/http: Include release tags

* k6/http: Document Params

* k6/http: Document RefinedParams

* k6/http: Document AuthMethod

* k6/http: Document ResponseType

* k6/http: Document ParamsCookieValue

* k6/http: Document RequestBody

* k6/http: Document StructuredRequestBody

* k6/http: Document batch request types

* k6/http: Document refined batch request types

* k6/http: Document BatchResponses

* k6/http: Document Response properties

* k6/http: Document Response.html

* k6/http: Document Response.json

* k6/http: Document Response.clickLink

* k6/http: Document Response.submitForm

* k6/http: Define SSL/TLS version constants

* k6/http: Define OCSP status constants

* k6/http: Document OCSP reason constants

* k6/http: Define CipherSuite

* k6/http: Document Protocol

* k6/http: Document CipherSuite

* k6/http: Document RefinedResponse

* k6/http: Document ResponseBody

* k6/http: Document RefinedResponseBody

* k6/http: Document RequestCookie

* k6/http: Document ResponseCookie

* k6/http: Correct Unix time specifications

* k6/http: Document FileData

* k6/http: Accept formatter changes

* k6/http: Link to FileData docs

* k6/http: Accept formatter changes

* k6/http: Document CookieJar

* k6/http: Document CookieJarCookies

* k6/http: CookieOptions

* k6/metrics: Document module

* k6/metrics: Document Metric

* k6/metrics: Document Counter

* k6/metrics: Document Gauge

* k6/metrics: Document Rate

* k6/metrics: Document Trend

* k6/ws: Document module

* k6/ws: Add section headers

* k6/ws: Document connect

* k6/ws: Document Params

* k6/ws: Document Executor

* k6/ws: Document Response

* k6/ws: Document Socket

* k6/ws: Document EventType

* k6/ws: Document TimerHandler

* k6/ws: Document event handlers

* k6/ws: Document WebSocketError

* k6/options: Document module

* k6/options: Document Options

* k6/options: Document CollectorOptions

* k6/options: Document Stage

* k6/options: Document threshold specifications

* k6/options: Document Certificate

* k6: Remove API Extractor config

No obvious way to get the repo test to accept it.
To be restored when an approach is discovered.
2019-07-22 17:29:26 -07:00
Derek Sifford b7c382e273 [@wordpress/block-editor] add new definitions (#37006)
* [@wordpress/block-editor] add new definitions

* triggering a rebuild
2019-07-22 17:14:44 -07:00
mg.yangandAndrew M. 2d834f5b2b [@types/react-js-pagination] fix getPageUrl type (#36925)
* fix getPageUrl type

* add test

* linting semicolon

linting

Co-Authored-By: Andrew M. <r3nya@ya.ru>
2019-07-22 13:26:19 -07:00
Aurelijus Rožėnas 927985758d Updated bazinga-translator to accept null for some parameters where code supports it. (#36561)
* Updated bazinga-translator to accept null for some parameters.

* Empty commit trying to wake the CI up.
2019-07-22 13:25:16 -07:00
Derek Sifford 19873ab3ea [@wordpress/library-export-default-webpack-plugin] add new definitions (#37040) 2019-07-22 13:22:21 -07:00
Derek Sifford 6b12777ccb [@wordpress/data-controls] add new definitions (#37029) 2019-07-22 13:21:49 -07:00
Avi Vahl 2aceb916d9 Add types/tests for webpack-virtual-modules (#37025)
* Add types/tests for webpack-virtual-modules

* Set minimun typescript to match webpack's
2019-07-22 13:21:20 -07:00
Darius I. Karel fb3854f2c0 initial commit (#37016) 2019-07-22 13:10:19 -07:00
kainoffke 9bfb0f9df9 [auth0] New fields in PasswordChangeTicketParams (#36892)
* Issue 36108

Added two fields to `PasswordChangeTicketParams` and edited tests accordingly.

* Issue 36108

Increased patch version
2019-07-22 13:05:47 -07:00
Christian b5a2d2a412 fix(chart.js): add missing Chart instance fields (#36893) 2019-07-22 13:04:58 -07:00
Muthurathinam b9552ae83d Adding New type MailSearchFolder , New property in a type and updaing maintainer list (#36894) 2019-07-22 13:03:35 -07:00
Juli 2e03485317 [async] fix the AsyncQueue.error type definition (#36918)
* fix: async.queue type definition

* fix: remove white space

* fix: async.queue test

* fix: async lint

* fix: async lint
2019-07-22 13:00:38 -07:00
Matt Krick 1d93c4badb return iterable iterator (#36917)
per lib.es2018:
```
interface AsyncIterableIterator<T> extends AsyncIterator<T> {
    [Symbol.asyncIterator](): AsyncIterableIterator<T>;
}
```
2019-07-22 12:59:35 -07:00
Matteo Ferigo ab202b8852 Allow space-separated values (#36929)
Space-separated values are allowed in JSS
https://cssinjs.org/jss-syntax?v=v10.0.0-alpha.22#space-separated-values
2019-07-22 12:59:00 -07:00
折腾笔记 814ca317ae update types for uni-app (#36749)
* fix: getStoragetSync return value is incorrect.

* fix: The type of return value type of Storage is incorrect

* added parameter for GetStorageOptions.success

* added value parameter for setStorageSync

* fix setStorageSync with value: any

* update types for uni-app

* add class EditorContext for uni-app types

* fix lint for uni-app

* remove *.vue module for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app
2019-07-22 12:58:27 -07:00
David H 1501160d93 [react-table] Updated getTfootTdProps and getThProps (#36937)
* added missing type definition for `getTfootTdProps` after fixing them in the react-table repo (https://github.com/tannerlinsley/react-table/pull/1399)

* removed `getThProps` comment, since it was removed from the docs yesterday (https://github.com/tannerlinsley/react-table/pull/1387)
2019-07-22 12:56:20 -07:00
Keevan Dance 30d741a1a8 Feature/add react plaid link (#37031)
* Add types

* initial commit

* add delcaration file and tests for react-plaid-link

* remove path mapping

* add typescript version

* change array type for non-simple types
2019-07-22 12:55:28 -07:00
Endel Dreyer 748e897b53 fix typo on OnlyWhenNoObstacles (#36943) 2019-07-22 12:52:54 -07:00
Derek Sifford 4173a818f4 [browser-sync-webpack-plugin] add new definitions (#37042)
* [browser-sync-webpack-plugin] add new definitions

* fix build failure
2019-07-22 12:51:34 -07:00
Erik Berreßem 4b7b8282d0 [pdfkit] Add missing definitions for interface ImageOption (#36956)
* 🚨 Formatting

* 🏷️ Updating typedef for interface 'ImageOption'

* 🚨 Formatting

* 🏷️ Correcting interface 'ImageOption's fit and cover attribute

* ✅ Add tests for the new typedefs

* 🔖 Bump version pdfkit header to v0.10.0

* 👤 Add myself to the 'Definitions by' section of the package header
2019-07-22 12:49:42 -07:00
Piotr Roszatycki 63e78c08d1 nodemailer: custom authentication handlers (#36954)
* nodemailer: custom authentication handlers

* nodemailer: bump TypeScript version for depended libs

* nodemailer: handler returns unknown value
2019-07-22 12:48:38 -07:00
Levi Bostian 3f38ff3711 Add onError to express-mung module (#36967) 2019-07-22 12:42:35 -07:00
Moshe Kolodny 92bbfdf700 Mark optional properties from ArrayContaining and ObjectContaining (#37053) 2019-07-22 12:41:09 -07:00
bookmoons 9f2a383644 k6/http: Remove Response.timings.looking_up (#37045)
Currently unavailable in the API. To be restored when future
changes make it possible.
2019-07-22 12:40:37 -07:00
Steve Zhang 48f4013540 reformat codes via new prettier rules (#37046) 2019-07-22 12:40:12 -07:00
Jojoshua f8020db2d9 tabulator-tables - Update for version 4.3 (#37041)
* Update prettier 400col width

* Update for 4.3

* linter
2019-07-22 12:39:10 -07:00
Derek Sifford 1784bb6677 [@wordpress/api-fetch] add API schema types for consumption by other packages (#37026) 2019-07-22 12:38:30 -07:00