Commit Graph

70201 Commits

Author SHA1 Message Date
Orta
7ada2eae55 Adds algoliasearch to react-instantsearch-core's deps 2020-07-20 09:17:38 -04:00
Haroen Viaene
337ebccca8 [algoliasearch(-helper)] remove packages
Both of these packages are now shipping their own definitions and aren't used anywhere else, except algoliasearch-helper in react-instantsearch-core
2020-07-20 09:30:41 +02:00
Michael Ness
8c9eba5079
🤖 Merge PR #46184 [@types/underscore] Collection and Array Tests - First, Initial, Last, and Rest by @reubenrybnik 2020-07-19 21:16:03 -04:00
Michael Ness
46d83cef67
🤖 Merge PR #46120 [@types/underscore] Collection and Array Tests - Each, ToArray, and Partition by @reubenrybnik
* Updating type definitions for each, partition, and toArray and adding tests.

* Adding a multi-call chain test.

* Fixing some issues around type unions and implicit any errors for each by redefining CollectionIterator to only use conditional types to determine the potential key type for the iterator.

* Adding tests around issues fixed by the change to CollectionIterator and updating the base each tests to be a more interesting and abbreviated.

* Adding identity iteratee tests for partition and making the identity iteratee tests for find, filter, and reject more realistic by using potentially falsy types.

* Removing IterateePropertyShorthand because the last thing that was using it got updated at some point and I forgot to remove it at that time.

* Update summary comments to reflect that the iteratee for `each` is always a function.

* Moving EnumerableKey and CollectionKey up above the iterators.

* Updating CollectionIterator and MemoCollectionIterator to be interfaces instead of types and updating MemoCollectionIterator to use the same pattern as CollectionIterator.

* Updating Array<EnumerableKey> to EnumerableKey[] to match other array usages elsewhere in these definitions.

* Adding tests for the more complicated Iteratee and IterateeResult types.

* Dropping extra overloads of reduce and reduceRight since getting rid of the extends checks in MemoCollectionIterator seems to have gotten rid of the result narrowing issue that was previously preventing that from working.

* Dropping MemoIterator and MemoObjectIterator since they're no longer referenced.

* While I'm cleaning up reduce and reduceRight anyway, also updating the Underscore and _Chain versions of them to use T instead of TypeOfCollection<V> more often.

* Revert "Dropping MemoIterator and MemoObjectIterator since they're no longer referenced."

This reverts commit 53d67598c4a269d8f9dc4ff2e124031c1f9ba2ec.

* Updating non-collection iterator types to be aliases of collection iterator types.

* Putting better constraints on iterators and temporarily reverting back to not using T in a few places to compensate.

* Adding missing $ExpectTypes in function Iteratee tests.

* Adding null to Iteratee and IterateeResult and moving undefined to the end of those types.

* Adding null iteratee tests.
2020-07-19 16:19:08 -04:00
zombopanda
6997e11b04
[react-native-snap-carousel] Fix ref and props (#45924)
* [react-native-snap-carousel] fix ref, add FlatListProps

* [react-native-snap-carousel] fix test
2020-07-18 08:28:17 -07:00
Will Clark
0b9cfa7fc1
pbkdf2: Allow TypedArray and DataView inputs (#45933)
See https://github.com/crypto-browserify/pbkdf2/pull/81/
2020-07-18 08:18:38 -07:00
John Demetriou
84e38fb89a
Added a few missing react-date-range properties (#45816)
Co-authored-by: John Demetriou <i.demetriou@fxpro.com>
2020-07-18 08:13:43 -07:00
Otávio Capila
8ae6af91cc
@types/twit - Improve twit types (#45854)
* replaced all commas with semicolons

* removed deprecated geo property from Status

* created SymbolEntity and PollEntity

* updated Entities interface

* updated Status interface

* organized Status interface alphabetically

* format code with prettier

* check if the property has value

* updated test
2020-07-18 08:09:41 -07:00
Barin Britva
4bc9b9ee59
Fix streams in minio. (#45912) 2020-07-18 08:04:16 -07:00
dcylabs
9d07ba98ec
[node-polyglot] fixed type for version 2.4.0 (added pluralRules) (#45867)
* 🏷️ fixed node-polyglot type for version 2.4.0 (added pluralRules)

* 🏷️ fixed node-polyglot type for version 2.4.0 (pluralTypes now returns number)
2020-07-18 08:02:41 -07:00
JounQin
2f5c33ff0e
🤖 Merge PR #46157 feat: update definitions for js-base64 v3 by @JounQin
* feat: update definitions for js-base64 v3

* chore: check Base64.Base64
2020-07-18 09:31:49 -04:00
ottomated
ce3e3f7b29
Add type definitions for @ottomated/passport-twitch (#46164)
Co-authored-by: Ottomated <otto@ottomated.net>
2020-07-17 18:23:16 -07:00
Marcell Toth
a3b43d00c4
Add types for openapi-sampler (#46154) 2020-07-17 18:20:24 -07:00
Pierre Huyghe
0c5761699d
[workbox-webpack-plugin] rename chache to cache (#46150) 2020-07-17 18:17:18 -07:00
Michael Mitchell
46ca07dd97
[bent] Add response methods & StatusError (#46144)
* [bent] Add response methods to NodeResponse

* [bent] Add StatusError class

* [bent] Bump comment version
2020-07-17 18:15:48 -07:00
Yurii Skrypets
76bedbedce
Added react-file-utils types (#46134) 2020-07-17 18:13:47 -07:00
Felix Hessenberger
ec2939eb29
[react-big-calendar] Remove self as author (#46133) 2020-07-17 18:12:13 -07:00
inglec-arista
8a912db4eb
[fail-on-errors-webpack-plugin]: New definition (#46130) 2020-07-17 18:11:32 -07:00
Chris Shouts
8477438b98
Add support for logContentsOfXhrCalls command (#46129)
According to the documentation, consumers of the raygun4js package should be able to enable / disable including the body of XHR requests in the breadcrumbs using the logContentsOfXhrCalls command. This change adds support for the logContentsOfXhrCalls command to the official types package.

See https://raygun.com/documentation/language-guides/javascript/crash-reporting/breadcrumbs/#configuration-options for the full documentation of the logContentsOfXhrCalls option.
2020-07-17 18:10:07 -07:00
inglec-arista
c586a6b7cc
[@types/create-html]: New definition (#46126) 2020-07-17 18:09:17 -07:00
climba03003
a2b2b9df56
Add type definitions for @woocommerce/woocommerce-rest-api (#46123)
* Add types for @woocommerce/woocommerce-rest-api

* Fix: Space Problem
2020-07-17 18:08:09 -07:00
Justus Fluegel
68a8df69f2
Add types for dependency-solver (#46119)
Co-authored-by: Justus Fluegel <klettelars@gmail.com>
2020-07-17 18:03:45 -07:00
Daniel Zen
216303eaa9
Fix KJUR.jws.JWS.sign signature to accept string based header (#46114) 2020-07-17 18:00:30 -07:00
Jerry Wang
8dbfc33d63
Added missing types in nodegit/config.d.ts 0.26.5 (#46065)
* Added missing types in config.d.ts

* Changed findGlobal return type
2020-07-17 17:59:57 -07:00
Krystan HuffMenne
22457a0b6a
[ember__debug] Fix args in registerWarnHandler (#46112) 2020-07-17 17:57:08 -07:00
John Doe Antler
f62ebc1050
Add type definitions for voice-activity-detection (#46107)
* types init

* updated to commonjs syntax.

* used spaces in new or changed types
2020-07-17 16:46:30 -07:00
AL
726030b6fe
[jest] Add generic support to jest.mock and jest.doMock (#46072)
* Add generic support to jest.mock and jest.doMock

Allow jest.mock and jest.doMock to support generics which apply a measure of type-safety to the factory function which can be provided.

* Update Jest mock and doMock generic typings to be more specific

Remove Partial support in the MockModuleFactory function. Enforce '__esModule: true' to be delcared whenever a type with a default property is provided. Remove unnecessary overload typings of mock and doMock
2020-07-17 16:39:15 -07:00
Masakazu Otsuka
a27f2f0b3b
Add missing properties from https://developer.chrome.com/apps/runtime#type-MessageSender (#46104) 2020-07-17 16:35:03 -07:00
ExE Boss
5bfedbe7b3
chore(jest): Enable no‑unnecessary‑generics (#46073) 2020-07-17 15:23:14 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
e62855dadd
fix(qr-image): support for customize PNG function (#45902)
* fix(qr-image): support for `customize` PNG function

- `customize` option support added
https://github.com/alexeyten/qr-image#options
- `Bitmap` value type added

/cc @tiholic

Thanks!

Fixes #45898

* [doc] refine bitmap options documentation fixing PR comment

/cc @sandersn
2020-07-17 10:40:36 -07:00
Alexey Morozov
5bdf06778a
🤖 Merge PR #46128 [n3] Add 'blankNodePrefix' and fix 'prefixes' properties in ParserOptions by @AlexeyMz 2020-07-17 12:17:57 -04:00
Ben Tea
bef4a7bfd7
🤖 Merge PR #46118 update rowHeight prop in react-sortable-tree SortableTee by @benatshippabo
* fix typing error for rowHeight prop in react-sortable-tree SortableTree component

* bump version up to date

* revert version and shorten typing

* ran prettier on test and definition files
2020-07-17 11:37:36 -04:00
TK
26935f7fb8
🤖 Merge PR #46093 Fix redux-pack success typo by @leandrotk
* Fix redux-pack success typo

* Add test
2020-07-17 09:42:32 -04:00
jgellin-sf
34582743b5
🤖 Merge PR #46137 @types/antlr4 - Fix InputStream.LA() and InputStream.LT() declarations by @jgellin-sf
* Fix LA and LT declarations

* Add tests

* Add definition owner
2020-07-17 09:06:27 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
650cddcab0
🤖 Merge PR #46140 update(staticmaps): 'anchor' options for add text by @peterblazejewicz
- missing property:
https://github.com/StephanGeorg/staticmaps#text-options
- tests

Thanks!
2020-07-17 03:23:17 -04:00
tervancovan
0a10430072
🤖 Merge PR #46101 [@types/fabric] Add options parameter for loadSVGFromURL by @mwmw7
* Add options parameter for loadSVGFromURL
Add comments for parameters

* Fix "options" type as "{ crossOrigin?: string }"
Add tests code to test of "options"

PR
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46101

Co-authored-by: mwmw7 <cto@toonsquare.co>
2020-07-16 22:51:09 -04:00
Alex Jerabek
e1a6b327db
[office-js, office-js-preview] Defining Word.SelectionMode behavior (#46139)
* Defining Word.SelectionMode behavior

* Grammar tweak
2020-07-16 13:34:16 -07:00
Chris
2c5d2fdba6
🤖 Merge PR #46116 [react-big-calendar] Add styles prop for Calendar component by @altruisticsoftware
* [react-big-calendar] Add `styles` prop for Calendar component

* Update react-big-calendar-tests.tsx

Fixes `eofline  file should end with a newline`
2020-07-16 11:45:33 -04:00
Derek Finlinson
448e1f0baa
🤖 Merge PR #46117 Fix casing for AttributeMetadata by @derekfinlinson
* Fix ViewSelector methods

* Add missing event handler methods

* Add prevent default to stage change event args

* Remove whitespace

* Remove additional whitespace

* Merge remote-tracking branch 'upstream/master'

* Add entityrecord pageType to Xrm.Navigation.navigateTo

* Make data optional

* Fix casing for AttributeMetadata

* Fix test
2020-07-16 10:07:03 -04:00
undefined
a90ae01207
🤖 Merge PR #46121 serialize-javascript-4.0 by @masnn 2020-07-15 23:59:59 -04:00
Sébastien
daca975559
Added capability to add node in modal btns (#44852)
Co-authored-by: Sebastien GREGOIRE <sebastien.gregoire@ibm.com>
2020-07-15 17:03:32 -07:00
Tobias Hann
6c47ddab93
Update/react-native-calender-picker 6.1.5 - add new props (#45871)
* Add support for new props in 6.1.5

* add style, deprecation warning

* remove blank line

* Fix: make viewstyles optional

* Use interface rather than type alias
2020-07-15 17:00:42 -07:00
inglec-arista
7c0ffc179f
[@types/got-resume]: New definition (#46108) 2020-07-15 16:52:54 -07:00
orblazer
c56626ee5c
[@types/ssh2-sftp-client] Remove self from author (#46106) 2020-07-15 16:45:18 -07:00
orblazer
570b13e64e
[@types/mongoose] Remove self from author (#46105) 2020-07-15 16:44:56 -07:00
Remco Haszing
f834531236
Add type definitions for language-tags (#46098) 2020-07-15 16:43:10 -07:00
Jacob Fischer
b7edd37079
Add types for 'html-docx-js' package (#46089)
* feat(html-docx-js): add new type definitions for 'html-docx-js' package

* fix(html-docx-js): correct url to my authorship of html-docx-js types
2020-07-15 16:36:52 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
be64ee5f75
feat(parse-gitignore): new definition type (#46086)
- definition file for 'parse-gitignore'
- tests

https://www.npmjs.com/package/parse-gitignore
https://github.com/jonschlinkert/parse-gitignore#usage

Thanks!
2020-07-15 16:31:42 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
f27cea58b6
feat(strip-comments): new definition file (#46084)
- definition file
- tests

https://www.npmjs.com/package/strip-comments
https://github.com/jonschlinkert/strip-comments

Thanks!
2020-07-15 16:30:40 -07:00
Michael Ness
10daadd2b5
🤖 Merge PR #46068 [@types/underscore] Collection and Array Tests - Without, Uniq, and SortedIndex by @reubenrybnik
* Updating type definitions for without, uniq, and sortedIndex and adding tests.

* Updating summary comments for updated functions to be less than 80 characters long and adding a lowest index distinction to sortedIndex summary comments.

* Adding matcher iteratee tests for uniq and sortedIndex.
2020-07-15 11:33:40 -04:00