Commit Graph
62075 Commits
Author SHA1 Message Date
Nathan Shively-Sanders b7f29e99b8 Clean 20190426 (#35020)
1. Update react-instantsearch URL.
2. backbone-fetch-cache has a type-aware lint rule that was affected by
a change in backbone. It's a dumb rule, but since CI only runs
expectRule for dependents, we didn't catch it on checkin. Now that we're running on
Azure, maybe we should run all lint rules for dependents during CI.
2019-04-26 08:11:03 -07:00
Nathan Walters 56607c79bd Fix HighlighterProps to reflect how they're used (#34950) 2019-04-25 19:22:38 -07:00
mmkal 11d5fd7f43 [slonik] add transformRow to interceptors (#34943) 2019-04-25 19:20:40 -07:00
Daniel Rosenwasser 21e09f2827 Added explicit options to 'markdownlint'. (#34861)
* Added explicit options to 'markdownlint'.

* Update index.d.ts

* Addressed lints.

* Silence quotation errors.
2019-04-25 19:18:01 -07:00
Ryan Wilson-Perkin 7bb03173ee [@types/got] Support retries of "POST" method (#35000)
* [@types/got] Support retries of "POST" method

The current list of supported methods for RetryOptions omits the "POST" method. I believe this is because the list was taken from https://www.npmjs.com/package/got#retry however this is only the _default_ methods that are supported. [This issue](https://github.com/sindresorhus/got/issues/757) from the `got` GitHub repo indicates that it _is_ possible to specifically state that you would like to retry on POST as well.

I have a use-case where I'd like to automatically retry failed POSTs but can't right now without overriding the typing.

* Add @ryanwilsonperkin to authors list

To allow dt-bot to ping me of changes to these interfaces and to help
support additional typing changes.

* Add test that "POST" is a supported method

* Match order of other method lists

Every other list of methods puts POST before PUT. Minor point, but may
as well match convention.

* fix: Remove duplicate POST
2019-04-25 19:14:01 -07:00
Julien Quéré 8445dd431b [Parse] Add missing context on AfterSaveRequest and BeforeSaveRequest (#34944)
* Add missing context on AfterSaveRequest and BeforeSaveRequest

* Before/After SaveRequest: switch context from any to object
2019-04-25 19:10:18 -07:00
stuartthomson e09e79218d [dockerode] add VolumeOptions & TmpfsOptions to MountSettings (#34991)
* add VolumeOptions & TmpfsOptions to MountSettings

* Labels and Options as { [name: string]: string }
2019-04-25 19:08:29 -07:00
Sam Welek 5ff6bfd1b9 [@types/vis] add optional string types to EdgeOptions (#34972)
* @types/vis Adding Types to Edges.Arrows

Adding Edges.Arrows.To/Middle/From Type

* Correcting contributor link
2019-04-25 19:06:52 -07:00
Vu Tran 105423a537 [react-aria-menubutton] Fix typo for closeOptions (#34967)
* [react-aria-menubutton] Fix typo for closeOptions 

`closeOptions` should actually contain a `focusButton`, not `focusMenu`.

Reference: https://github.com/davidtheclark/react-aria-menubutton/blob/master/src/createManager.js#L99

* fix tests
2019-04-25 19:01:59 -07:00
Ifiok Jr 3082e56e75 feat: add types for min-document (#34989) 2019-04-25 18:00:37 -07:00
Raúl Acuña 046f80013c Stripe: Update Invoice properties to match version 2019-03-14 (#34597)
* Change application_fee to application_fee_amount

On API version 2019-03-14, the application_fee parameter on invoice API methods and the application_fee field on the invoice object have both been renamed to application_fee_amount.

Documentation: https://stripe.com/docs/api/invoices/object#invoice_object-application_fee_amount

* Break lines on column 100

* Add created property

Version 2019-03-14: The date property has been renamed to created.
https://stripe.com/docs/api/invoices/object#invoice_object-created

* Add custom_fields

https://stripe.com/docs/api/invoices/object#invoice_object-custom_fields

Add custom fields type definition

https://stripe.com/docs/api/invoices/object#invoice_object-custom_fields

* Customer is expandable

https://stripe.com/docs/api/invoices/object#invoice_object-customer

* Add default_source

https://stripe.com/docs/api/invoices/object#invoice_object-default_source

* Add footer property to invoice

https://stripe.com/docs/api/invoices/object#invoice_object-footer

* Add status and status_transitions

https://stripe.com/docs/api/invoices/object#invoice_object-status

* Add threshold_reason property

https://stripe.com/docs/api/invoices/object#invoice_object-threshold_reason

* Remove unnecessary qualifiers

* Update tests to use latest stripe api version

* Revert "Update tests to use latest stripe api version"

This reverts commit 83fbc3b90475328d458ceb99b7ca64d9d89e8542.

* Instead of replacing application_fee, add the new name

* Add a @deprecated message on old property
2019-04-25 17:57:31 -07:00
Iván López Santiago 32cd2e644a types declaration for architect (#34993) 2019-04-25 17:55:41 -07:00
Daniel Mora 4b7b454e31 Update cleanup parameter types for node-temp (#34874)
* Update types for temp

Update types for `cleanup` callback to match the implementation https://github.com/bruce/node-temp/blob/0082942c735b241710d3074edf0e24de95d1903c/lib/temp.js#L231

* Update index.d.ts
2019-04-25 17:24:10 -07:00
Sergey 7392228cef Export WrapperClass interface (#34883) 2019-04-25 17:10:08 -07:00
Aaron Holderman 3ac4e15ccc add plaid-link defs (#34602)
* add plaid-link defs

* set "strictFunctionTypes": true

* correct github link

* Type functions

* delete comments

* use string union type instead of enum

* correct argument casing
2019-04-25 19:53:07 -04:00
Florian Keller 1f2b237c9d Add types for uint32 (#34990) 2019-04-25 16:26:17 -07:00
Nathan Shively-Sanders 8b4ae33bfa Cleanup 20190425 (#34995)
* Update project urls

* remove jquery-notifier, update react-test-renderer

1. jquery-notifier was types for a type-only package.
2. react-test-renderer's test incorrectly assumed that <t> was an html
tag. This is now an error. I updated the test to use <div>, since that's
a tag I've heard of before.

* Fix space lint

* Use typescript for removing non-npm package

* Reorder names in notNeededpackages.json

* Point to real version of typescript
2019-04-25 16:05:15 -07:00
Brandon Wilson 6c8d67bc13 [node-fetch] Fix Body and ResponseInit (#34966) 2019-04-25 16:01:57 -07:00
Herman (Von) Waters ec29d74291 Muidatatables update (#34918)
* 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
2019-04-25 15:32:15 -07:00
Silas Rech 104da7bacb Update email options (#34992)
Related change in the source module: https://github.com/hapijs/joi/commit/7e172c14b439906f638f54d77d3317fbd72dd023

Fixes #34962
2019-04-25 15:24:12 -07:00
Kento Moriwaki 6b6bc64719 [cors] CustomOrigin.requestOrigin can be undefined (#34973)
* Fix requestOrigin type

* Fix spec

* Remove unnecessary try-catch

* Revert "Remove unnecessary try-catch"

This reverts commit 7f6fffbdb4c86a0b0f9c727d1b46e118b62e4b26.
2019-04-25 15:22:36 -07:00
Ifiok Jr 7d47c3b617 feat: new react-wait types (#34848) 2019-04-25 15:01:56 -07:00
breeze9527 7f329f2a3a Add type definition for non npm package amap-js-api-line-search (#34908)
* [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
2019-04-25 14:45:54 -07:00
Pavithran Gridharan 3c2a4dda5e feat: update pdfmake (#34830) 2019-04-25 14:43:33 -07:00
Silas Rech 93d055288f [@hapi/*] finalize new namespace for hapi modules (#34905) 2019-04-25 14:42:00 -07:00
Julian Gonggrijp ed6cd87f64 Set defaults for the type parameters of generic types in backbone (#34875)
* Give defaults to the generic type parameters

* Satisfy the linter

* Re-enable the npm-naming linter rule for backbone

* Add tests for the new feature in backbone
2019-04-25 11:51:24 -07:00
sdankel 7c77a9c53a Add typings for probability-distributions (#34949) 2019-04-24 16:00:46 -05:00
Marcin Wosinek a358c583ff types/jasmine-promise-matchers: add toBePromise matcher (#34858) 2019-04-24 15:44:40 -05:00
F. Eugene Aumson 308c13ed4d Support new s3rver options and omitted callback (#34965) 2019-04-24 15:42:19 -05:00
KARASZI István 3d1a0834a9 [@types/stream-buffers]: Add false to the return values (#34885)
* Add false to the return values

The source code returns false when the size is zero

* Add and update tests
2019-04-24 15:15:05 -05:00
Evan Brodie b4ac543c23 react-native: Updates the comment for the keyboardShouldPersistTaps prop (#34954) 2019-04-24 12:33:33 -05:00
Mike Deverell 52da1b9fc0 [@storybook/addon-storyshots] Fix missing-generic-param error (#34912) 2019-04-24 12:32:33 -05:00
Babette 4b990527b1 Change the disableAutoFocus from string to boolean (#34945)
The disableAutoFocus field has to be a boolean. At least in the latest version 2.6.8
2019-04-24 12:30:49 -05:00
fvoronin 5e6fe8cbf2 Add "short" to ChoiceOption. (#34934) 2019-04-24 12:28:58 -05:00
Mike Marcacci 20fdb93704 Fix incorrect argument type on TSTypeReference (#34926)
https://babeljs.io/docs/en/babel-types#tstypereference
2019-04-24 12:26:29 -05:00
Vu Tran 2a629ed0c2 [react-aria-menubutton] Extend React.HTMLProps (#34920)
This PR each component's interface to extend `React.HTMLProps` instead of `React.HTMLAttributes` so `ref` can be passed down.
2019-04-24 12:24:32 -05:00
Timothy Onyiuke 2a9265d8a2 Updated type definitions and enabled allowSyntheticDefaultImports (#34963)
* Added comments and updated definitions

* enabled allowSyntheticDefaultImports

* changed exports style and updated tests
2019-04-24 12:17:40 -05:00
Alan Plum ad48efc6c4 Update arangodb@3.5 (#34941)
* Update ArangoDB API for 3.5

* Add collection.documentId

* Add collection.getResponsibleShard, index.name
2019-04-24 12:10:39 -05:00
benleilei 2372530e5b [echarts] fix data prop for markPoint (#34766)
series-bar.markPoint.data is array, not is object
2019-04-23 17:19:47 -05:00
Tiger Oakes 0e2c7c1643 Remove rollup-plugin-commonjs (#34541) 2019-04-23 16:49:47 -05:00
Meow 2a6f27f442 [request-promise] add export RequestAPI (#34753) 2019-04-23 16:41:31 -05:00
Kanitkorn Sujautra a6f3a888fa [react-native-autocomplete-input] Add type definition for v4 (#34929)
The new major release (v4) has just been released. Release note: https://github.com/mrlaessig/react-native-autocomplete-input/releases/tag/v4.0.0
2019-04-23 16:34:16 -05:00
Chad Lavimoniere fffa2794f1 add type definition for anchor (#34911) 2019-04-23 16:27:13 -05:00
Jeroen Akkerman 212ea87fbb Allow null and undefined as start parameter. (#34896)
According to the documentation, this indicates "now".
2019-04-23 15:43:46 -05:00
Joe 3d4299e6a9 Unzipper - Extract CentralDirectory.Files type to interface (#34868)
* Extract CentralDirectory.Files type to interface

* Remove trailing whitespace
2019-04-23 14:27:39 -05:00
Alex Jurkiewicz 0482b40701 [mysql] Improve function documentation (#34647)
* Add documentation for string escaping functions

* Add docs for connection end/terminate/pause/resume

* Add docs for events

* Small cosmetic tweaks

* Fix duplicate declaration lint errors

* Fix three incorrect types

* Add a mising tslint directive
2019-04-23 14:21:41 -05:00
Wojciech Tyczyński bc68b001a5 @types/react-native add support for onFocus/onBlur and Platform.isTV (#34811)
* @types/react-native add support for onFocus/onBlur and Platform.isTV

* @types/react-native - add TargetedEvent interface
2019-04-23 14:16:47 -05:00
Andrew Webb ed5fcefc9c Expand hubot typings (#34916)
* Expand hubot typings

* Fix build issue

* Fix tests for mattvperrys hubot pr

* Update mattvperrys code after rebase

* Remove redundant line
2019-04-23 14:08:02 -05:00
HaveFunWP f429a76527 Allow lineWidth of GridLineOptions to be an array of numbers (#34878) 2019-04-23 14:04:24 -05:00
Valerio Coltrè f1871a347c split Spec into Config & Spec (#34922) 2019-04-23 13:58:51 -05:00