Commit Graph
66520 Commits
Author SHA1 Message Date
Mark NelissenandAndrew M. e007bade45 [react-places-autocomplete] add session token to searchOptions (#41295)
* add session token to searchOptions

* add to maintainers

* update typescript version

* Update types/react-places-autocomplete/index.d.ts

Co-Authored-By: Andrew M. <r3nya@ya.ru>

Co-authored-by: Andrew M. <r3nya@ya.ru>
2020-01-02 10:21:04 -08:00
TSL c794e7209b React router guard (#41333)
* Add types react-router-guard package

* Add test for react-router-guard package

* Export for Loadable react-loadable

* Remove file react-router-guard-test.ts
2020-01-02 10:07:54 -08:00
Ngô Quang Dương bbeec088c3 🤖 Merge PR #41323 [cassandra-store] Create declaration file by @QuangDuong120198
* Declaration file for cassandra-store

* Remove @types/express and @types/express-session
2020-01-02 10:00:09 -08:00
Christian Stornowski 5d5716a9c3 Updated to match for newest vue2-datepicker version (#41341) 2020-01-02 09:49:27 -08:00
Wesley Tsai ba283aae0d [testing-library__dom] Fix async bound queries (#41237)
* Update get-queries-for-element.d.ts

Fixes bound query types for queries with waitForElementOptions

* Add tests

* Adding self to package header
2020-01-02 09:47:11 -08:00
Piotr Błażejewicz (Peter Blazejewicz) ca73215c06 feat(react-stripe-elements): handleCardAction. Closes #41281 (#41285)
https://stripe.com/docs/js/payment_intents/handle_card_action
https://git.io/JeNlO

Thanks!
2020-01-02 09:46:49 -08:00
Thomas Sondergaard a125cc10fc argparse: ArgumentOptions.metavar can be an array (#41283)
This is essential for useful docs for nargs >= 2.

https://docs.python.org/dev/library/argparse.html#metavar says this
about metavar and nargs:

Different values of nargs may cause the metavar to be used multiple
times. Providing a tuple to metavar specifies a different display for
each of the arguments.
2019-12-31 15:33:55 -08:00
Matteo Frana 8394dae20e checkedChildren and unCheckedChildren are optional (#41274)
* QueryOptions: added refetchIntervalInBackground, refetchOnWindowFocus, initialData

* Removed extra space

* Removed patch version number

* Fixed initialData optional and of type TResult

* checkedChildren and unCheckedChildren are optional
2019-12-31 15:33:37 -08:00
pheromonez 57a1baaa4f [google__maps][@google/maps] Only allow calling asPromise() if client supports it (#41138)
* Update [google__maps]

* Only allow `asPromise()` to be called if client was created with Promise support

* Add explicit type for GoogleMapsClientWithPromise, to remove reliance on Conditional Types

* Apply review comments
2019-12-31 15:23:52 -08:00
Grimmer 6202437f4f Add typePojoToMixed to mongoose SchemaOptions (#41290) 2019-12-31 15:22:45 -08:00
Peter Matta 74fa9e11a4 Update react-native-zeroconf types to v0.11 (#41284) 2019-12-31 15:22:10 -08:00
Honza Kalfus 90a56d675d Improved type definitions for react-widgets (#41270)
* Improved type definitions for react-widgets

* Revert "Improved type definitions for react-widgets"

This reverts commit 39cb0bc135b2771e9910f5eb9ee93e420d6045da.

* Added tests for default exports

* Removed all uses of deprecated React.Props type

* Removed unused interfaces

* Don't import whole React, but only what's needed

* Export all interfaces using the "declare namespace" trick

* Lint ignore (imports are used to verify that exports are available)
2019-12-31 15:21:45 -08:00
Rudi Chen cf41279e00 updates typings to update 9 (#41102) 2019-12-31 15:20:50 -08:00
Kevin Brown ba63399ef3 Added some field config options. (#41203) 2019-12-31 15:20:14 -08:00
AlCalzone 1d52577a72 [iobroker] add getObjectList[Async] to the adapter interface (#41272) 2019-12-31 15:19:53 -08:00
Per Bergland 98feb5a0f0 Add useTracker (react-meteor-data 2.0.0 or later) (#41318) 2019-12-31 15:18:49 -08:00
Rob Moran f0470ebc13 🤖 Merge PR #41292 [w3c-web-usb] Complete strongly-typed EventTarget functions by [object Object] 2019-12-31 13:28:07 -08:00
cyberblast 8e64582fd3 🤖 Merge PR #MDExOlB1bGxSZXF1ZXN0MzU3ODA1ODE5 - add types/cyberblast__webserver
* add types/cyberblast__webserver

* fix minor bugs
2019-12-31 09:16:10 -08:00
TypeScript Bot 03fddd7a3f Update CODEOWNERS (#41171) 2019-12-30 13:40:52 -08:00
PetrSvirak fbb9d39bea Add use-resize-observer types (#41042)
Types are defined for CommonJS module. While the source library has both a main
entry pointing to a CommonJS module and a module entry pointing to an ESM
module, TypeScript doesn’t yet have the ability to model both formats
side-by-side for the same module, so unfortunately one had to be picked.
2019-12-30 15:08:55 -06:00
Sergey Sychev 7963c011fb [@types/react-native] WebSocket (#40968)
* [@types/react-native] WebSocket

* [@types/react-native] WebSocket - fixed types in send method

* Fixed signature of constructor
2019-12-30 20:14:12 +01:00
Arne 805ad7183b Add openssi-websdk definition (#41214)
* Add openssi-websdk definition

* remove functions that are not exported by the js
2019-12-30 11:36:54 -06:00
Andrew Branch c08d2b5e4a [node] Fix CommonJS import of module (#41225) 2019-12-30 11:26:41 -06:00
ShuiRuTian 8b6f65181d [webpack] Remove properties that has been removed (#40877)
* remove Module.preLoaders, Module.postLoaders and Configuration.debug. These properties has been removed by webpack2.
2019-12-30 16:24:27 +01:00
Robert Krahn 62e76348ae Add types for bmp-js (#41199) 2019-12-30 09:02:10 -06:00
Roman Komarov a8fb783542 fixed to the react-table rc.15 definitions (#41278) 2019-12-27 20:26:09 -06:00
ggascoigneandRoman Komarov 1bf49129a6 react-table: port v7 types over from react-table repo (#40816)
* react-table: port v7 types over from react-table repo

Since the v7 version of react-table has a completely incompatible
interface to v6, and is also no longer including types in its v7
package, this changeset ports over the v7 types and moves the v6 types
into a sub-folder.

The interface isn't ideal, it depends upon interface merging to be
useful.  If anyone can offer suggestions as to how to fix this without
falling into the recursive definition problems of generating types based
upon plugins which themselves change the types that they are being used
to define, please let me know.

https://gist.github.com/ggascoigne/646e14c9d54258e40588a13aabf0102d

* mv utils.d.ts from tsconfig -> OTHER_FILES.txt

* test should now pass

* fix type for UseRowSelectState.selectedRowPaths

* upgrade to beta.28

* upgrade to rc.1

* upgrade to rc.3

* upgrade to rc.9

* update to rc.10, address review comments

* Use a generic for prop getters, minor fixes

* lint cleanup

Also added styles to `TableCommonProps` since that's what it's generally
used for in the plugin-hooks.

* add intermediate and address remaining review comments.

* update to rc.15, add readme

Co-authored-by: Roman Komarov <kizmarh@ya.ru>
2019-12-27 13:48:08 -06:00
Jinho Jeong ab1e00b92c Add @types/rebass__forms (#41258)
* Add @rebass/forms typing

* Use rebass's typing

* remove styled-components typing

* Add @rebass/forms path mappings

* Specify TypeScript version

* Remove exports

* Add custom omit type for compatibility

* Add textarea component on test file

* Label component uses Flex inside

* Remove module declaration

* Fix test
2019-12-27 10:34:52 -06:00
Devin xu 4b3c5a76a6 add new features (#41191) 2019-12-27 09:56:35 -06:00
LKHO dbad844829 [mongoose] export Document class, add DocumentQuery.map() (#40742)
* [mongoose] export Document class, add DocumentQuery.map()

* merge remote branch 'master'

* add test `new mongoose.Document()`
2019-12-27 09:54:45 -06:00
Vlad-Shcherbina ddf417283f dygraphs: Allow null in DataArray (#41193)
See for example http://dygraphs.com/gallery/#g/independent-series
2019-12-27 09:51:42 -06:00
everhardt 36cc7e0150 Update index.d.ts (#41271)
I'd rather not be involved in every pull
2019-12-27 09:50:15 -06:00
ExE Boss 8556324f73 feat: Add tape‑promise (#41268) 2019-12-27 09:49:14 -06:00
Tomasz Pluskiewicz 006d2106dd typings for @rdfjs/parser-n3 (#41232) 2019-12-27 09:38:56 -06:00
Tomasz Pluskiewicz 0d303e5ea8 fix(@rdfjs/namespace): builder can be called without params (#41231) 2019-12-27 09:37:58 -06:00
Artur Androsovych 97f91edc4d add worker-plugin types (#41223) 2019-12-27 09:36:57 -06:00
Alex Kessock a9fd0c12aa Add types for cypress-image-snapshot (#41222)
* Add types for cypress-image-snapshot

* Add optional parameters to matchImageSnapshot
2019-12-27 09:35:01 -06:00
Hamit YILMAZ a44ea7e379 Add pica library type definition files (#41210)
* Add pica library type definition files

* Fix pica library type definition files array and maximum line exceeds

* Add pica library tests with parameterless constructor

* Fix pica library pica resize buffer options src optional problem.

- Add pica tests resizeBuffer with src options.
2019-12-27 09:28:45 -06:00
garyking 8f255f63e1 Add truncate-middle (#41202)
* add template

* add

* tests
2019-12-27 09:20:11 -06:00
Piotr Błażejewicz (Peter Blazejewicz) 1d1ea15b93 feat(mui-datatables): refine onDownload callback: Fixes #40838 (#41266)
- refine return type definition
- update documentation
- add test coverage

Thanks!
2019-12-27 09:16:21 -06:00
Piotr Błażejewicz (Peter Blazejewicz) 300d99813a feat(stripe-v3): Update methods options. Closes #41144 (#41189)
- new and missing documentation for `ShippingDetails`,
`CreatePaymentMethodOptions`, `ConfirmPaymentIntentOptions`
- @deprecated tag for `confirmPaymentIntent`
- tests update

Thanks!
2019-12-27 09:15:44 -06:00
Chris Barth d7a5f44d73 Add types for bcp-47-match (#41196) 2019-12-27 09:14:25 -06:00
Chris Barth a7f75df583 Add types for bcp-47 (#41195) 2019-12-27 09:12:51 -06:00
Barry Michael Doyle ba94ba69b1 Added react-fade-in Type Definitions (#41182)
* added react-fade-in type definitions

* added version in

* added type definitions for react-hook-mousetrap

* resolved prefer-declare-function error
2019-12-27 09:09:48 -06:00
antoine beauᵛᵃᴵˢ⁻lacᵃˢˢᵉ 05e0a74be3 Add types for blake2 (#41178) 2019-12-27 09:06:40 -06:00
Wessel van der Linden c674dab155 Add types for scss-parser (#41164) 2019-12-27 09:03:54 -06:00
Jimmy Jia 694dcfb662 feat: Upgrade for relay-runtime v8.x (#41235) 2019-12-27 12:28:16 +01:00
Walter Rumsby d013dfe912 Add typings for @newrelic/winston-enricher (#41134)
* Add typings for @newrelic/winston-enricher

* Fix typo

* fixes

* more

* :partyparrot:

* simplify dependencies
2019-12-26 16:19:18 -06:00
Chris Wilkinson 3c9d910f4d Add @rdfjs/parser-jsonld (#41093)
* Add @rdfjs/parser-jsonld

* More type tests
2019-12-26 16:12:57 -06:00
Chris Wilkinson 6acf3f13a3 Add @rdfjs/serializer-jsonld-ext (#41095) 2019-12-26 16:12:17 -06:00