Commit Graph
63091 Commits
Author SHA1 Message Date
bookmoons 0fffa9685f [k6] Restore real world usage tests (#36473)
* k6: Rename JSON JSONValue

Name JSON collides with the global JSON API.

* k6: Restore real world usage tests
2019-06-27 09:17:26 -07:00
David Daniell cbf9df95a2 support returning CSS interpolation from styled-theming ThemeValueFn (#36468) 2019-06-27 09:16:48 -07:00
Florian Keller 61a2f3f989 [generate-changelog] Update to version 1.8 (#36483) 2019-06-27 09:15:47 -07:00
Florian Keller 3ea758a042 Remove typings for swagger-parser (#36165) 2019-06-27 08:51:51 -07:00
Derek Sifford c56e525869 [@wordpress/components] quick hotfix from small issues found in #36184 (#36421)
* [@wordpres/components] run prettier on all files

* fix: navigable-container props extend HTMLDivElement

* fix: FormFileUpload should also accept "icon" prop for non-render variant

* fix: Toolbar component "label" prop is not required

* fix: RadioControl value can be any type, not just `string`

* fix lint issue
2019-06-26 16:42:59 -07:00
忆年 e5baf0e613 Update README.cn.md (#36457) 2019-06-26 16:40:32 -07:00
Matthew Brown 378fdd81b8 add onEscapeKeyDown type to Modal (#36408)
* add onEscapeKeyDown

onEscapeKeyUp is depcreacted

* use jsdoc comment
2019-06-26 12:49:35 -07:00
matt sayers 87f9c6f96d explicit definitions for all Howl.loop() overloads (#36250)
* explicit definitions for all Howl.loop() overloads

* consolidating loop overloads as suggested
2019-06-26 12:45:53 -07:00
Dobes Vandermeer e131b144a7 Declare parse/unparse overloads all at once (#36470) 2019-06-26 20:23:35 +01:00
Nivesh Ravindran a9335b7d7f feat: add type definitions for react-window-infinite-loader (#36275) 2019-06-26 11:29:54 -07:00
sky0014 b4ae49897f Add type field to simple-peer/SignalData (#36284)
* Add "type" field to simple-peer/SignalData

* Fix Cannot find name 'RTCSdpType' error.
2019-06-26 11:20:42 -07:00
opticalgenesis 8bba7f91ce Updated API in tests, updated IPaymentIntentCreationOptions and added Checkouts - Stripe (#36097)
* Started checkout finished PI

* Finished?

* Added checkout, updated API version and PI methods

* Added checkout, updated API version and PI methods

* Update index.d.ts

* Added missing IPaymentIntentCreationOptions option

* Fixed non-optional parameter
2019-06-26 11:19:36 -07:00
Derek Sifford 81d2311797 [@wordpress/blocks] add new definitions (#36420)
* [@wordpress/blocks] add new definitions

* forgot to uncomment file includes

* "stores" directory should be called "store"
2019-06-26 11:16:33 -07:00
Barend Bootha 9d92e24f9c [@types/dynogels] Fix/dynogels (#36307)
* fix(query.startKey): rangeKey is optional

* fix(DocumentCollection): update interface to match that of what utils.paginatedRequest returns

* fix(Query/Scan.exec): set data type to be DocumentCollection or any

* fix(exec): remove any union
2019-06-26 11:12:49 -07:00
Shwet 5813726587 [react-native-fbsdk] Updates typings for logInWithPermissions (#36310) 2019-06-26 11:11:27 -07:00
林集团 5f08c4a3c6 ramda: add support of applying ap to function type argument (#36398)
* ramda: add support of applying `ap` to function type argument

* ramda: add test for `ap`
2019-06-26 11:10:55 -07:00
Pascal Corpet e7615ef16b [amplitude-js] Give access to Identify and Revenue classes through AmplitudeClient. (#36313) 2019-06-26 11:10:34 -07:00
Munif Tanjim bd40cfc005 @types/draft-js fix mixed immutable version problem (#36402)
* @types/draft-js fix mixed immutable version problem

* bump typescript version for draft dependents
2019-06-26 11:09:07 -07:00
Maël Nison 1fce2f26d6 Adds types for the pnpapi module (#36447)
* Adds types for the pnpapi module

* Fixes headers

* Fixes linting

* More linting;
2019-06-26 11:04:14 -07:00
Jan Karres 18b72fd058 Update types for svgo@1.2.2 (#36331) 2019-06-26 10:47:44 -07:00
Kai f08f47bde7 [@types/mapbox-gl] Add coalesce Expression (#36341) 2019-06-26 10:46:06 -07:00
Julien Giovaresco 20aff261f5 [safe-json-stringify] Update typings (#36351)
The version 1.1.0 changes the signature of `safeJsonStringify` to make
JSON.stringify's formatting and replacing capabilities available

see https://github.com/debitoor/safe-json-stringify/releases/tag/v1.1.0
2019-06-26 10:45:23 -07:00
Noah Chase be41fb29f6 ms argument to watchStuckJobs is optional (#36295)
See https://github.com/Automattic/kue/blob/87d61503d3d9cc024633efc7611bd25551f0f87d/lib/kue.js#L270-L273 and documentation:

> ```js
> queue.watchStuckJobs(interval)
> ```
> `interval` is in milliseconds and defaults to 1000ms
2019-06-26 10:33:26 -07:00
林集团 d3cf467af3 ramda: add support of applying chain to function type argument (#36078)
* ramda: add support of applying `chain` to function type argument

* lint

* add test for `chain`
2019-06-26 10:30:36 -07:00
William Chelman eff7ed18e6 lodash - better return type for _.get with path in array form (#36118)
* [lodash] chore: removed trailing comma in scripts/package.json

* [lodash] fix: improved _.get return typing for up to 4 keys in path

* [lodash] chore: added William Chelman to contributors

* [lodash] fix: improved _.get return typing for up to 4 keys in path for ts >=3.1
2019-06-26 10:29:12 -07:00
Eric Taylor 0bcc63a0c5 feat(styletron-react): add injected props to StyletronComponent (#36467) 2019-06-26 10:27:49 -07:00
Florian Keller 33fad18d0f [fs-extra]: Align version (#36443) 2019-06-26 10:21:08 -07:00
Leonard Thieu 23d0420f19 [jsdom] pretendToBeVisual is a common option. (#36347) 2019-06-26 10:19:57 -07:00
Elizabeth Samuel 039804374d [office-js] [office-js-preview] Scrub Online, OWA, etc references (#36413) 2019-06-26 10:17:57 -07:00
Lingkai Shen 0385d7f65c Papaparse: Fix NODE_STREAM_INPUT for TypeScript/next test (#36419)
* separate type and value for NODE_STREAM_INPUT

* add test for NODE_STREAM_INPUT

* format
2019-06-26 10:16:40 -07:00
Derek Sifford 5cda518f79 [@wordpress/plugins] reference Dashicon.Icon from @wordpress/components (#36450)
* run prettier on all files

* fix: add reference to Dashicon.Icon for icon prop

* add reference to dependent packages
2019-06-26 10:12:16 -07:00
Rifa'i M. Hanif aef6653bc4 [ol] Fix optional parameters in function type (#36440) 2019-06-26 10:09:57 -07:00
Derek Sifford e9d771c356 [@wordpress/data][@wordpress/rich-text] tightly couple stores together and augment data functions from each package (#36422)
* [@wordpress/data][@wordpress/rich-text] tightly couple stores together and augment data functions from each package

* fix lint issue

* fix: reference @wordpress/element rather than react directly
2019-06-26 10:02:52 -07:00
Brandon d01c3d129d [openid-client]: fix Issuer constructor; improve object typing and return types (#36334)
* fix Issuer constructor; improve object typing and return types

* missed an optional parameter identifier

* revert change to any return type

* revert change to object type
2019-06-26 10:01:58 -07:00
Arvydas K 33e3083d5f Add missing option delayUpdate (#36427) 2019-06-26 10:00:25 -07:00
Joseph Wynn 36a835094d npmlog: Add missing functions by extending EventEmitter #35795 (#36417)
* npmlog extends EventEmitter

* Add missing log levels

* Modify import in tests to avoid having custom tslint
2019-06-26 09:57:46 -07:00
ghosttie ef62bec34c [Bootstrap-3-Typeahead] change type of item param of Options.afterselect to any (#36359)
* change type of item param of Options.afterselect to any

* change type of item param of Options.afterselect to string|object
2019-06-26 09:55:40 -07:00
Matthias Kunnen d60528f838 [serialport] Add error nullability (#36451)
* [serialport] Fix error in callback can be null

Most methods are inherited from Node stream and according to types that
means that the err parameter can be null or undefined.

See https://serialport.io/docs/guide-usage and look for function(err).
See https://github.com/serialport/node-serialport/blob/ef80d830804b0bf22d37c13d19eaa674800f9691/packages/serialport/test/integration.js#L55

* [serialport] Add correct type to test_list_ports_promise

* [serialport] Enabled strict-type-predicates for testing
2019-06-26 09:48:55 -07:00
Gerasimos (Makis) Maropoulos 882da69fd0 Update neffos.js definition file (#36452)
* Update neffos.js definition file

* fix def file linting issues - it's added to the deployment process now as well
2019-06-26 09:47:36 -07:00
Paweł Dąbrowski fc01ec61b4 fix array.compact rejector type (#36449) 2019-06-26 09:47:02 -07:00
Florian Keller e627b5b66b [electron-packager]: Update types to 14.0 (#36441) 2019-06-26 09:46:22 -07:00
Dirk Groenen 1fa08d6f12 Add correct Promise return types (#36312) 2019-06-26 09:43:58 -07:00
Thibault MOCELLIN b1d4a8a76a [parse] add definition for linkWith & _linkWith (#36258) 2019-06-26 09:42:45 -07:00
Sergio Arbeo 7ec5193126 Change main contributor in chromecast-caf-receiver (#36315) 2019-06-26 09:41:49 -07:00
bookmoons 7d19fc7272 [k6] Update for latest version (#36432)
* k6: Add author

* k6: Normalize indenting

Indenting was inconsistent.
Normalizes to the recommended 4 spaces.

* k6: Use TypeScript 3.4

* k6: Document version 1.0

* k6: Update project address

* k6: Normalize formatting

Uses the repo formatter to normalize code format.

* k6: Define byte array

* k6: Document init context availability

* k6: Document fail never returns

* k6: Collapse function definitions

For consistency with the example package.

* k6: Aggregate functions

* k6: Alphabetize files

* k6: Factor init context

* k6: Remove dom depend

The DOM is not present in the k6 custom runtime environment.

* k6: Simplify manifest

* k6: Rename init global

* k6: Add factored global tests

* k6: Define console

* k6: Remove global import

Seems to be loaded implicitly.

* k6: Define __VU

* k6: Define __ITER

* k6: Define __ENV

* k6: Test excess open args

* k6: Correct version

The version mentioned in the k6 docs seems to be wrong.
The latest version in the repo is v0.24.0.

* k6: Add factored check tests

* k6: Factor checker routine

* k6: Add factored fail tests

* k6: Add factored group tests

* k6: Add factored sleep tests

* k6: Define encoding

* k6/crypto: Support all string encodings

* k6/crypto: Define hmac

* k6/crypto: Define md4

* k6/crypto: Define md5

* k6/crypto: Define sha1

* k6/crypto: Define sha256

* k6/crypto: Define sha384

* k6/crypto: Define sha512

* k6/crypto: Define sha512_224

* k6/crypto: Define sha512_256

* k6/crypto: Define ripemd160

* k6/crypto: Aggregate types

* k6/crypto: Define createHash

* k6/crypto: Define Hasher

* k6/crypto: Define randomBytes

* k6/crypto: Order types to bottom

* k6/http: Define cookieJar

* k6/http: Define CookieJar.set

* k6/http: Define CookieJar.cookiesForURL

* k6/encoding: Order types to bottom

* k6/http: Brand CookieJar

* k6: Order types to bottom

* k6/crypto: Brand Hasher

* k6: Document branding

* k6/http: Define get

* k6/http: Define Response

* k6/http: Factor body type refinement

Enables typing user variables with nongenerics.

* k6/http: Define Response.json

* k6/http: Define Response.clickLink

* k6/http: Correct Response.clickLink header

* k6/http: Define Response.submitForm

* k6/http: Support null params

* k6/http: Centralize example address

* k6/http: Define post

* k6/http: Define del

* k6/http: Define options

* k6/http: Document generics purpose

* k6/http: Define patch

* k6/http: Refine comment

* k6/http: Define put

* k6/http: Correct body refinement

* k6/http: Simplify comment

* k6/http: Define request

* k6/http: Define batch

* k6/http: Define file

* k6: Remove centralized tests

Replaced with factored tests.

* k6: Use protected branding

Enables branding class hierarchies.

* k6/http: Update formatting

* k6/metrics: Define Counter

* k6/metrics: Define Gauge

* k6/metrics: Define Rate

* k6/metrics: Define Trend

* k6: Make noninstantiable classes abstract

* k6/ws: Define connect

* k6/http: Prefer interfaces

* k6/ws: Define Socket.on

* k6/ws: Define Socket.send

* k6/ws: Define Socket.ping

* k6/ws: Define Socket.close

* k6/ws: Define Socket.setTimeout

* k6/ws: Define Socket.setInterval

* k6/html: Define parseHTML

* k6/html: Specify optional return types

* k6/html: Define Element

* k6/html: Define HrefElement

* k6/html: Define MediaElement

* k6/html: Define FormElement

* k6/html: Define LabelElement

* k6/html: Define FormFieldElement

* k6/html: Define TableSectionElement

* k6/html: Define TableCellElement

* k6/html: Define CanvasElement

* k6/html: Define OptionElement

* k6/html: Define DataListElement

* k6/html: Define FieldSetElement

* k6/html: Define InputElement

* k6/html: Define KeygenElement

* k6/html: Define LegendElement

* k6/html: Define LinkElement

* k6/html: Define MapElement

* k6/html: Define MeterElement

* k6/html: Define ObjectElement

* k6/html: Define OutputElement

* k6/html: Define ProgressElement

* k6/html: Define ScriptElement

* k6/html: Define SelectElement

* k6/html: Define StyleElement

* k6/html: Define TableElement

* k6/html: Define TableRowElement

* k6/html: Define TableColElement

* k6/html: Define TextAreaElement

* k6/html: Define TitleElement

* k6/html: Define leaf elements

* k6: Define options

* k6: Type global environment from index
2019-06-26 09:40:45 -07:00
Coskun Deniz 1f2735eb39 [@types/vimeo__player] Update typings to match the latest api version 2.9.1 (#36321)
* Update typings to match v2.7.0

* Update typings to match v2.8.0

* Update version number to v2.9.1 as there is no type changes

* Fix linting

* Update types as requested in the CR

* Linting

* Introduce VimeoTimeRange tuple

* linting

* Add missing options
2019-06-26 09:20:50 -07:00
Weyert de Boer cfc586791d Updated type defs for @testing-library/user-event (#36444)
* fix: updated the type definitions for @testing-library/user-event

* just make changes to testing-library__user-event

* take 2

* updated type defs

* cleaned up formatting

* fix naming

* attempt to fix the type defs

* chore: updated tsconfig.json

* remove whitespace

* fix whitespace

* chore: attempt to fix both user-event packages

* chore: formatting code
2019-06-26 13:51:22 +01:00
Nathan Shively-Sanders 2ceda6e7ea Add WindowOrWorkerGlobalScope.fetch (#36453)
This is compatible with TS3.6 and above.
2019-06-25 12:39:47 -07:00
Florian Keller c51dc8610d [electron-packager] Add all osx-sign options (#36435) 2019-06-25 10:22:31 -07:00
Julia Shestakova efa6b9e11e Fix react-beautiful-dnd DropAnimation types (#36345) 2019-06-25 00:09:08 -07:00