Commit Graph

64545 Commits

Author SHA1 Message Date
Ross Pokorny
bdfdaf7fef [react] Add propTypes to ForwardRefExoticComponent (#38337)
* Add propTypes to ForwardRefExoticComponent

* Add test
2019-09-24 14:00:12 -07:00
Claus Stilborg
40b3584ae5 [stripe] refactor checkout creation to match documentation (#38223)
* Support for Connect in PaymentIntent Checkout

Support for examples documented here: https://stripe.com/docs/payments/checkout/connect

* Add PaymentIntentData to ICheckoutCreationOptions

* Add tests for with destination and on_behalf_on

* Fix checkout creation

* Fix checkout creation

* Update types/stripe/index.d.ts

Co-Authored-By: Conor Dockry <conordockry@gmail.com>

* Resolving PR feedback

* Yeah
2019-09-24 13:58:32 -07:00
Collin Green
583149302e react-bootstrap: add restoreFocus prop to Modal (#38424)
The `restoreFocus` prop was added to react-bootstrap in this commit from
2017 that was first released in v0.30.8.

bd76a90d47
2019-09-24 13:14:05 -07:00
MaciekD
6f37606fa1 add PaymentRequestButtonElementProps (#38432) 2019-09-24 13:12:47 -07:00
Kyle Getz
70ea755232 [@types/prop-types] update props type for Validator (#38442)
Custom validators that use the `Validator` type need to be able to
access values out of the `props` object, but currently this fails type
checking. The object of props is keyed by strings, so add this simple
type.
2019-09-24 13:11:00 -07:00
Rafael Oliveira Pinheiro
48e407db01 Remove of unnecessary import in "react-redux" (#38563)
Removed unnecessary import of "useCallback" in "useDispatch" example that has not been used.
2019-09-24 13:07:18 -07:00
Offir Golan
8df5b79728 @pollyjs/core - Improve on previous types and update to match v2.6.2 (#38554) 2019-09-24 13:06:42 -07:00
alecf
089715eda9 [victory] update definitions for VictoryTheme, add className to VictoryLabel (#38141)
* update VictoryTheme, add className to VictoryLabel

* update tests

* organize props

* remove `Required` in favor of inline syntax
2019-09-24 12:58:49 -07:00
Erik Silkensen
27f6e1e2e7 Adding a new package: jwk-to-pem (#38511)
* Add jwk-to-pem

* Updated to follow module-function.d.ts template
2019-09-24 11:43:42 -07:00
Edward Sammut Alessi
463d84f64d Add pizzip types (#38527)
* Add pizzip

* Refactor to follow module-class.d.ts template
2019-09-24 11:39:42 -07:00
jonathanlb
27b4e6995c sqlite3-promise type definitions (#38504)
* sqlite3-promise type definitions

* Update index.d.ts

* incorporating uniqueiniquity improvements
2019-09-24 11:37:25 -07:00
Guillaume
129f3ca7a8 Add types for rox-browser (#38452)
* Add types for rox-browser

* rox-browser: exporting namespaces, as per review

* rox-browser: export everything (remove export {})
2019-09-24 11:36:27 -07:00
Alex
9f5f32b999 express-rate-limit: remove wrong new (#38399)
* Update index.d.ts

* Update index.d.ts

* THIS LINTER
2019-09-24 11:33:38 -07:00
Florian Keller
c8a421f842 Add types for package-info (#38235) 2019-09-24 11:28:07 -07:00
David Duffett
8ef32e4e85 [pino-http] Add err to ServerResponse (#38426)
* [pino-http] Add err to ServerResponse

* err is optional on ServerResponse
2019-09-24 11:26:03 -07:00
Joel Alejandro Villarreal Bertoldi
5458cfb911 fixed typo in bittorrent-protocol types (#38469) 2019-09-24 11:16:57 -07:00
Orta
e366d47640
Ensures that prettier has the same settings as editorconfig (#38569) 2019-09-24 14:14:10 -04:00
Proudust
bf6f29040d [@types/google-apps-script] Fix Spreadsheet.Protection, Cache (#38323)
* Fix Ui#show** argument type (object to HTML.HtmlOutput)

* Add Protection#removeEditors(User[]) (DefinitelyTyped#31273)

* Cache#get and CacheService#** return type is nullable
2019-09-24 11:09:32 -07:00
Spencer Miskoviak
b55219464b Add types for the @loadable/webpack-plugin package (#38397)
* Add types for the @loadable/webpack-plugin package

* Increase TypeScript version to match webpack
2019-09-24 11:08:09 -07:00
Cory Reed
d671e8142a fix: update RequestPromise extension for 2018 Promise (#38471) 2019-09-24 11:04:31 -07:00
inglec-arista
aff5f4578f [express-useragent] Add v1 types (#38408) 2019-09-24 11:02:39 -07:00
Fabian
ebf5337ec8 Update index.d.ts (#38454)
The `i18n`-prop should be able to change, as it's described in the documentation as the way for changing the library language.
Since this is now defined as a const, Typescript indicates this as an invalid action.
2019-09-24 10:55:49 -07:00
Alex Berk
2b19198885 Add searchPlaceholder (#38468)
table option was merged in release 2.10.0
https://github.com/gregnb/mui-datatables/pull/852
2019-09-24 10:53:01 -07:00
Sammy Jelin
f4b3251354 [urijs] Bugfix: URI.expand is sometimes undefined (#38372)
`URI.expand` will only be set if you do `import "urijs/src/URITemplate"` first.
2019-09-24 10:50:21 -07:00
Andrii Dieiev
a4a55f6c85 Fix link to Linter section in ToC (#38523) 2019-09-24 10:46:08 -07:00
Chris Wiggins
8f8abaef7e Adds net-ticks definitions (#38420) 2019-09-24 10:34:36 -07:00
Andrey
76f9a5bdb5 Add typings for graylog2 (#38225) 2019-09-24 10:20:07 -07:00
Cameron Yan
b8d2701d9b Updated typings for @babel/generator@^7.6.0. (#38477) 2019-09-24 10:11:08 -07:00
Sean Lee
d14ef7bddd fix(node): replace reserved identifier in a function parameter (#38480) 2019-09-24 10:10:42 -07:00
Olavo Rocha Neto
aa5c66c087 adds vue-datetime typings (#38428)
* Adds vue-datetime definitions

* npm test fixes for PR
2019-09-24 10:07:57 -07:00
zawor
bc8addff53 @types/leaflet: extracted L.DivOverlay abstract class definition (#38406)
* @types/leaflet: extracted DivOverlay abstract class definition

- this prevented proper subclassing when creating Tooltip/Popup-like implementations

* @types/leaflet: extracted DivOverlay abstract class definition

- rollback of accidental removal of Tooltip setOpacity method

* @types/leaflet: add missing ctor to L.DivOverlay
2019-09-24 10:07:24 -07:00
Mike Deverell
77614d5fac [ramda] split tests to separate modules: 'identical' - 'isNaN' (#38546)
* move 'identical' tests to separate file

* move 'identity' tests to separate file

* move 'ifElse' tests to separate file

* move 'includes' tests to separate file

* move 'indexBy' tests to separate file

* move 'indexOf' tests to separate file

* move 'init' tests to separate file

* move 'innerJoin' tests to separate file

* move 'insert' tests to separate file

* move 'insertAll' tests to separate file

* move 'intersection' tests to separate file

* move 'intersperse' tests to separate file

* move 'into' tests to separate file

* move 'invert' tests to separate file

* move 'invertObj' tests to separate file

* move 'invoker' tests to separate file

* move 'is' tests to separate file

* move 'isArrayLike' tests to separate file

* move 'isEmpty' tests to separate file

* move 'isNaN' tests to separate file
2019-09-24 10:03:56 -07:00
Prabhav Chawla
e46cfc9a73 Add missing labelFontSize prop (#38393) 2019-09-24 09:58:09 -07:00
Damnjan Lukovic
e59c2e8cf4 add StyledSystem.Layout props to BoxKnownProps (#38525) 2019-09-24 09:52:41 -07:00
mpschaeuble
0fdbc12154 [mapbox-gl] line-dasharray, text-font, text-justify can be Expression's (#38534)
* line-dasharray, text-font, test-justify can be Expression's

* Extend tests
2019-09-24 09:50:53 -07:00
Anna Botcharowa
c3a8129cbd Add type definitions for fast-memory-cache. (#38566) 2019-09-24 09:03:34 -07:00
Minh Son Nguyen
f844a93e8c Set http IncomingMessage setTimeout callback as optional param (#38514)
* Set http incoming message setTimeout callback as optional param

* Add test for http IncomingMessage

* Update Definitions by
2019-09-24 09:01:35 -07:00
Ifiok Jr
6fa32aafe7 fix: upgrade prosemirror-view (#38404) 2019-09-24 13:50:10 +02:00
Eloy Durán
5f3df8f131
[relay-runtime] Add missing exports. (#38562)
ReaderFragment is needed for types emitted by
relay-compiler-language-typescript
2019-09-24 13:04:13 +02:00
Eloy Durán
e5187a3452
[relay-config] Initial import (#38561)
* [relay-config] Initial import

* [relay-config] Configure tsc for linting

* [relay-config] Use TS v3
2019-09-24 11:42:07 +02:00
AppLover69
41fe335d20 Add definitions for spectrogram@0.0.7 (#38483) 2019-09-23 17:17:51 -07:00
Tim Kang
af7022a5f1 [object-joiner] add @types (#38494)
* Update index.d.ts

* add object-joiner typings
2019-09-23 17:12:08 -07:00
Max Boguslavsky
1e76cc036f Added window interface and tests to requestidlecallback: Part 2 (#38124)
* added tests and updated requestidlecallback type

* added tests and updated requestidlecallback type

* - corrected arguments according to feedback.
2019-09-23 15:37:12 -07:00
Emily Marigold Klassen
6d08375709 feat: add promise-poller types (#38508) 2019-09-23 15:11:29 -07:00
Sebastian Silbermann
24665a0223 feat(aria-query): Add types (#38515)
* Ported flow types

* Fix example from readme

* Add type tests for elementRoles and roleElements

* Fix lint issues
2019-09-23 14:21:32 -07:00
Jamie Magee
3cf733f73a Add re2 (#38538) 2019-09-23 13:11:57 -07:00
Piotr Roszatycki
35362243fe fast-shuffle: returns type based on argument (#38544) 2019-09-23 11:08:38 -07:00
Dobes Vandermeer
8238de91cf mongodb: support two argument collection call with options (#38348)
You can call the collection() method with a name and options, but
no callback, if you want to.
2019-09-23 10:59:51 -07:00
Caleb Meredith
3225670d5e Use same type parameters for function interfaces. (#38443)
Make sure all definitions of `Function<T>` and `FunctionChain<T>` use the same type parameters. This was causing a TypeScript error for me in a project references environment where a module re-exported some Lodash functions.
2019-09-23 10:56:53 -07:00
josundt
df033e9753 Fixed a compile error in c3 typings (#38484)
* Fixed a compile error in c3 typings

* Updated based on feedback from @iansan5653

* Indentation for the XTickConfiguration interface body fixed
* Added JSDoc comment to YTickConfiguration.format
* Made YTickConfiguration.format function optional and allow number | string return value - verified that it works and is correct
2019-09-23 10:54:57 -07:00