Commit Graph
62089 Commits
Author SHA1 Message Date
Ivan Goncharov e893fc31e8 [express-graphql] Synchronise with 'v0.8.0' (#34914) 2019-04-26 12:42:34 -07:00
stuartthomson a0c4baea71 Add missing parameters to HostConfig + standardise (#35024) 2019-04-26 12:36:31 -07:00
Jonathan Stewmon ca6a2d7564 fix: restore null union type on promisify callbacks (#35018) 2019-04-26 12:31:50 -07:00
Matt R. Wilson d0204038a4 [nock] Add matchHeader to Interceptor. (#35022)
This method is available on the Scope or Interceptor level, however, the
type was only included on Scope before.
2019-04-26 12:28:14 -07:00
poseidonCore 8024692790 Support priority on Mail.Options (#34720)
* Support priority on Mail.Options

As stated in this file:
https://github.com/nodemailer/nodemailer/blob/master/lib/mailer/mail-message.js

* coding style errors

Error in nodemailer
Error: /home/travis/build/DefinitelyTyped/DefinitelyTyped/types/nodemailer/lib/mailer/index.d.ts:140:1
ERROR: 140:1   no-trailing-whitespace  trailing whitespace
ERROR: 141:19  typedef-whitespace      expected onespace after colon in property-declaration
ERROR: 141:19  whitespace              missing whitespace
2019-04-26 12:26:19 -07:00
Jasmin Bom d24d6a715d Fix browser.runtime.Port again (#35027)
- Add tests so it doesn't happen again
2019-04-26 12:19:51 -07:00
Marcus Weiner 060a97fdda [spotify-web-playback-sdk] Declare namespace as window global (#34999) 2019-04-26 12:16:15 -07:00
Dimitri Mitropoulos ff8d792a28 [text-table] align can be null or undefined (#34870) 2019-04-26 11:22:26 -07:00
PopGoesTheWza 41fcebe6be google-apps-script: April 19, 2019 (#35011)
* FieldType enum:
HYPERLINK
IMAGE
IMAGE_LINK

* Documentation text update
2019-04-26 11:19:14 -07:00
Ron Buckton b51c8b0ae4 Remove 'co' dependency on 'Generator' type (#34840) 2019-04-26 11:17:35 -07:00
Ryan Burr cbdce7fb10 [@types/auth0-js] remove password from ChangePasswordOptions (#34947)
- This option is not used by the Auth0.js 9.10 library
- Changing password through the API is a deprecated workflow
- This is a BREAKING CHANGE since it removes a property
2019-04-26 11:13:57 -07:00
Alexander Zeitler 683acf2d34 fix hapi response code function docs (#35012)
* fix hapi response code function docs

* fix $param to be @param
2019-04-26 11:10:15 -07:00
avin-kavish c96320313a [@types/copy-webpack-plugin] Update to v5.0 of copy-webpack-plugin (#34880)
* ADD: 'test' option and relavant documentation to CopyPattern

* Update types to copy-webpack-plugin version 5

* Update header

* Update header
2019-04-26 11:09:06 -07:00
Adam Lavin 5746d0876f Update styled-system types to 4.1 (#34938) 2019-04-26 11:05:57 -07:00
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