Commit Graph
63582 Commits
Author SHA1 Message Date
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
Maximilian Münchow 6e217d240a [@types/sdp-transform] fix incorrect types (#36891)
* added missing arrays, and made some fields in candidates optional.

* fixed "Definitions by"
2019-07-22 12:37:42 -07:00
neilbryson 4fc501737d [swagger-jsdoc] Made declarations more detailed (#36977)
* update type definitions for swagger-jsdoc
* Made declarations more detailed
* Changed from ambient declarations to export
  - Interfaces are exported
  - Main function as default export

* Decrease minimum version of swagger-jsdoc to 3.0
2019-07-22 12:37:25 -07:00
Cotton Hou 36e86e6069 [ramda] R.filter infer result types (#37004)
* ramda: R.filter infer result types

* [squash] reserve predication type when not unknown

* [squash] add test
2019-07-22 12:37:05 -07:00
swwind 4652ea01d7 [ramda] fix R.flatten (#37017)
* fix flatten

* fix tests

* fool mistake on tests
2019-07-22 12:32:11 -07:00
Simon Legner 01caeca3d5 leaflet: update L.Browser constants (#37033)
* leaflet: update L.Browser constants

Ref: https://leafletjs.com/reference-1.5.0.html#browser

* leaflet: style fixes
2019-07-22 12:30:25 -07:00
Michael Zabka ef573057d8 Fix name of stream changes watch option startAtOperationTime (#37030)
* it was changed during alpha, beta testing from to but JSDocs keeps old option name
* related to api ref docs: https://mongodb.github.io/mongo-java-driver/3.8/javadoc/com/mongodb/client/ChangeStreamIterable.html
* related to specs: https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst
2019-07-22 12:29:40 -07:00
Shogo Sensui ec42b2190e feat: add Config() function interface (#37022) 2019-07-22 12:29:13 -07:00
Peter Juras d142fa9f9d aws-lambda: Add "domainPrefix" to APIGatewayEventRequestContext (#37038) 2019-07-22 12:28:43 -07:00
Cotton Hou 048f16f5ac [ramda] curried R.take gains generic type (#37027) 2019-07-22 12:28:25 -07:00
Matthew Kuo 385e78879b [@hapi/joi] Add false to tlds email options (#37015) 2019-07-22 12:27:56 -07:00
Clément HELIOU 7c77b17d48 feat(auth0): add missing members on ResourceServer object (#36932)
Namely `enforce_policies` and `token_dialect`.
2019-07-22 12:27:23 -07:00
Matthew 144cad8200 AxisOptions.autoRotation add missing boolean type (#36919)
Reference: https://api.highcharts.com/highcharts/xAxis.labels.autoRotation
2019-07-22 12:27:06 -07:00
Joe Flateau c5a1efb07e playbackRate w/o an arg should be a getter (#37028) 2019-07-22 12:26:43 -07:00
Jose Granja Martinez 5c99150555 ReactStripeElements - adding support for handleCardPayment and handleCardSetup (#36981) 2019-07-22 12:26:13 -07:00
Alex Price 74f51366f0 Updated react-stripe-elements CVC definitions (#36881)
* Updated react-stripe-elements CVC definitions

In version [4.0](https://github.com/stripe/react-stripe-elements/blob/master/CHANGELOG.md#v400---2019-07-05) of react-stripe-elements the CardCVCElement was renamed CardCvcElement. The old name will be aliased until v5.

This PR adds this alias.

* Removed silly semi

* Removed unnecessary semi-colon
2019-07-22 12:25:55 -07:00
Jorge M. Abdalla d793a23371 Update to a new React version (#37011)
Update interface InputHTMLAttributes to HTMLAttributes, for new React versions
2019-07-22 12:24:35 -07:00
Borys Kupar 4413fb75c4 [bull] Fixed queue process function definition (#36958)
* [bull] Fixed queue process function definition

* Revert version bump
2019-07-22 11:06:14 -07:00
rohitsud 8825742790 [@types/sequelize] Fix incorrect parameter in DefineIndexesOptions [4.33.0] (#37014)
* Add test for options.indexes[].type

*  Fix incorrect parameter in DefineIndexesOptions

This parameter is actually called `type` and not `index` anymore (http://docs.sequelizejs.com/class/lib/model.js~Model.html)
2019-07-22 11:05:46 -07:00