Commit Graph

69955 Commits

Author SHA1 Message Date
Zoran Kokeza
642829c88a
[Cesium] - fix wrong parameters on EllipsoidTangentPlane.fromPoints (#44899)
* Update index.d.ts

* Update index.d.ts
2020-07-06 14:57:58 -07:00
Kyle Poole
a40caac0b5
fix CartesianGridProps CoordinatesGenerator (#45809) 2020-07-06 14:57:21 -07:00
Dennis Snell
6c2bcffe68
update(simperium): add missing optional parameters to event listener (#45814)
When creating the original types there was an oversight in the event
types for the `Channel` and its `update` event. In some cases the
event fires only with the first two parameters: the entity id and
data. In the normative case however there are additional parameters
available indicating meta information about the update. Those
optional paramters have been added here.

Although it looks like all three of the last parameters are optional
it's actually the case that either you get only the first two or
all five. It would not occur that you only get three or four of them
but I wasn't sure how to type this beyond function overloads and I
believe that it's not the best idea to use function overloads for
optional parameters.
2020-07-06 14:36:38 -07:00
Tomas Carnecky
b9f4e2353b
markdown-to-jsx: children prop is required and must be a string (#45815) 2020-07-06 14:12:21 -07:00
J. Pablo Fernández
58e136504d
Passport's authorize function accepts Strategy (#45817)
Some references:

https://medium.com/passportjs/authenticate-using-strategy-instances-49e58d96ec8c

https://stackoverflow.com/a/62644453/6068
2020-07-06 14:11:33 -07:00
Zach Anthony
fd848fb675
feat(aws-lambda): add the amazon connect contact flow trigger (#45820)
* Added support for Amazon Connect Contact Flow Trigger to AWS Lambda

* Updated formatting of files
2020-07-06 14:10:10 -07:00
Frelia
1882299f09
Add types to randomatic (#45822)
* Add types to randomatic

* Include definition author for randomatic
2020-07-06 14:07:56 -07:00
Wafa
7152e63617
make bitrateCangedEvent extend type Event (#45826) 2020-07-06 14:04:30 -07:00
tempaccount-m
b6af4bed73
@types/plotly.js Added histfunc and added (#45828)
to hoverinfo

Co-authored-by: ck <ck@ck.de>
2020-07-06 14:02:38 -07:00
ExE Boss
a62f2d4bb3
feat(babel‑types): Add support for TypeScript 3.7 assertion functions (#45830) 2020-07-06 14:01:55 -07:00
Manuel Thalmann
4620e42e5a
Add types for the stringify-author package (#45835) 2020-07-06 13:59:33 -07:00
John Palmer
28ff829fd7
Add extra parameter for chrome.input.ime.AssistiveWindowProperties (#45839)
Co-authored-by: John Palmer <jopalmer@chromium.org>
2020-07-06 13:58:23 -07:00
Jack Tomaszewski
297384e37c
fix(jest): Fix usage example of jest.MockedClass (#45840)
So it reflects of how it should be done in [reality](15fe0696be/types/jest/jest-tests.ts (L613))
2020-07-06 13:57:45 -07:00
Krishna Kapadia
2e773752ac
🤖 Merge PR #45903 [@types/raygun4js] [version 2.20.0] Custom timings - Track Event typings by @krishnaKapadia
* Feat: updated typings for custom timing event

* Fix: shortened typings to allow ci to pass

* Fix: linting errors
2020-07-06 13:57:11 -07:00
DerZade
918d01ef8c
Update index.d.ts (#45841) 2020-07-06 13:56:55 -07:00
Ingvar Stepanyan
1187c5f21c
Add typings for Native File System API (#45850) 2020-07-06 13:56:18 -07:00
ExE Boss
51afb00732
refactor(node): Move EventEmitter definition to events.d.ts (#45848) 2020-07-06 13:52:31 -07:00
ExE Boss
56ca30c77d
refactor(node): Move Domain definition to domain.d.ts (#45847) 2020-07-06 13:51:19 -07:00
ExE Boss
a58ce42a02
refactor(node): Move Buffer definition to buffer.d.ts (#45845) 2020-07-06 13:48:07 -07:00
ExE Boss
57fc6c8ddc
refactor(node): Move Console definition to console.d.ts (#45846)
* refactor(node): Move `Console` definition to `console.d.ts`

* fixup! refactor(node): Move `Console` definition to `console.d.ts`
2020-07-06 13:46:15 -07:00
Oliver Joseph Ash
a1c2d9294d
@babel/traverse: add visitors.merge (#45852)
Related: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/44527

Example usage: eea156b2cb/packages/babel-core/src/transformation/index.js (L107)

Unfortunately I couldn't find any docs.
2020-07-06 13:32:02 -07:00
chrispytoes
5993a674e6
@types/rethinkdb - Add optional options parameter for Sequence.distinct() (#45859)
* Add options parameter for distinct()

* Add optional options parameter for distinct()

Co-authored-by: chhansen <chansen@webfoot-designs.com>
2020-07-06 13:30:31 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
0a10d25cdf
fix(node): add module.path (#45858)
- Node.Module property added
- tests amended

/cc @kuchta

Thanks!

Fixes #45844
2020-07-06 13:28:42 -07:00
Igor Timoshenkov
8eea024245
Add missing methods to type declaration (#45870)
* Add missing methods to type declaration

Update @types/intro.js to latest version of API in documentation

* Update index.d.ts

Fix formatting

* Update index.d.ts

Remove params in ts

* Update index.d.ts

Remove trailing whitespace
2020-07-06 13:28:04 -07:00
Glen
972a34e906
Argument "env" passed to configuration factories can be undefined (#45876) 2020-07-06 13:26:48 -07:00
Daniel Eden
33a94d5028
Add type definitions for cxs-css/cxs (#45875)
* Add type definitions for cxs-css/cxs

* Address linter/CI issues

* Fix importing and reintroduce ts-expect-error

* Fix tsconfig

* Fix import path in tests

* Omit ts-expect-error

* Try to fix compile error

* Use ts-expect-error instead of $ExpectError

* Remove directive in component

* Remove error-causing callsites

* Prefer interface over props

* Turn off export to fix lint error
2020-07-06 12:50:46 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
91a51a80e2
feat(bounds.js): new type definition (#45857)
Asynchronous boundary detection. 1KB, no dependencies.

- definition file
- tests

https://github.com/ChrisCavs/bounds.js/#boundsjs

Thanks!
2020-07-06 12:44:59 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
a5433cbce9
feat(nanoscheduler): new type definition (#45878)
- definition file
- tests

https://www.npmjs.com/package/nanoscheduler
https://github.com/choojs/nanoscheduler#readme

Thanks!
2020-07-06 12:43:08 -07:00
cherryblossom000
7a7ad43ca1
yt-search: update for 2.0.1 (#45865) 2020-07-06 12:40:35 -07:00
Yaozu Lv
074251b52c
Add getRemainingTimeInMillis field to context (#45879)
* Add README.md for serverless-tencent-scf

* Fix: context
2020-07-06 12:39:12 -07:00
Tom Xu
474f21ce19
ssh2-sftp-client add method (#45881)
* ssh2-sftp-client add method

* Update index.d.ts
2020-07-06 12:37:33 -07:00
Tom Xu
32baaf33f4
ssh2 sftp add exists (#45887) 2020-07-06 12:35:47 -07:00
Dimitrios Kirtsios
f8f7cadd38
Add types for greek-utils npm library (#45890)
* Add types for greek-utils library

* Remove TypeScript version pinning

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2020-07-06 12:32:38 -07:00
njuro
ef74cdc61e
Add types for react-file-icon (#45896)
* Add types for react-file-icon

* Apply Prettier

* Adapt for version 1.0.0

* Update version
2020-07-06 12:31:59 -07:00
sevaru
1e650db1a3
🤖 Merge PR #45914 [@types/daterangepicker] property 'drops' could accept 'auto' value (update to 3.1) by @sevaru
* Update 'auto' option for drops

* update version

* example test for drops: 'auto'
2020-07-06 12:28:01 -07:00
Simon
5ebf3ddd96
🤖 Merge PR #45811 [vexflow] feat: add optional Formatter constructor options by @sschmidTU
update vexflow version number in comment

Co-authored-by: sschmid <s.schmid@phonicscore.com>
2020-07-06 12:09:28 -07:00
zombopanda
47b4a51efb
[react-native] Add onTextInput prop to TextInput (#45862)
* [react-native] Add onTextInput prop to TextInput

* [react-native] Add onTextInput prop to TextInput
2020-07-06 17:06:47 +02:00
Martín Triay
481368a585
Add types for react-blockies (#45891) 2020-07-06 04:51:08 -04:00
Michał Grzegorzewski
a0473932ac
🤖 Merge PR #45627 [webpack] fix for MultiCompiler doesn't define Multistats for callback/handler of run method by @spamshaker
Update index.d.ts to return right Multistats type in MultiCompiler handler
2020-07-06 01:48:07 -07:00
Mateus de Nardo
83151d6087
Update index.d.ts (#45900)
Correcting the property name to match what we see in the project example (https://github.com/lukechilds/merge-images#nodejs-usage).
2020-07-06 01:34:18 -07:00
Samuel Gratzl
aecace2b00
🤖 Merge PR #45884 @types/cytoscape fix spelling issue to match docs by @sgratzl
change spelling of line-gradient-stop-colors to American to match the docs see https://js.cytoscape.org/#style/gradient
2020-07-06 00:24:16 -07:00
David D
5644149105
[muibox] "placeholder" property (#45232)
* Update index.d.ts

* Update muibox-tests.ts
2020-07-06 02:48:45 -04:00
Yuxuan Xie
f25da746d2
Add 'inline' to UglifyJS source map content (#45904) 2020-07-06 05:38:33 +01:00
Piotr Błażejewicz (Peter Blazejewicz)
491f394a3e
🤖 Merge PR #45892 feat(ffmpeg): async version of save by @peterblazejewicz
Promisified version of the `save`:

https://github.com/damianociarla/node-ffmpeg#save-the-file

Thanks!

/cc @msrumon

Closes #45882
2020-07-05 01:19:21 -07:00
Michael Ness
f4726d82af
🤖 Merge PR #45763 [@types/underscore] Collection and Array Tests - Map, Pluck, Filter, GroupBy, and Flatten by @reubenrybnik
* Adding type extractors and updating existing tests to use them.

* Improving handling of mixed-iterability types by simplifying the Underscore and chain functions to a single overload.

* Updating TypeOfCollection to check against List and Dictionary separately instead of using Collection since using the latter behaves oddly with JQuery objects.

* Renaming a variable to something slightly more friendly.

* Updating type definitions for map, pluck, filter, groupBy, and flatten and removing _ChainOfArrays and IterateeMatcherShorthand.

* Adding tests for map, pluck, filter, groupBy, and flatten.

* Fixing a test for @types/parse that breaks with these changes.

* Updating more places to use returns instead of return because I want to.

* Revising identifiers in tests.

* Switch from $ExpectType to assignability checks for now due to an odd issue with the linter that seems to affect TS 3.0 specifically.

* Updating a word in a comment that I forgot to update.

* Revert "Fixing a test for @types/parse that breaks with these changes."

This reverts commit 1955fc1a00aa884e088c07a2d02dd7b3bc08c2fa.

* Fixing a typo in a variable name.

* Dropping KeysOfUnion and TypesOfUnionProperty for now in favor of a safer and simpler keyof T + string approach.

* Reducing the dimensions of a deep flatten and changing the names of the resulting types.

* Dropping array tests for most functions since testing lists should be sufficient to also cover arrays.

* Adding a comment to every test group.

* Update functions that take an iteratee to use an Iteratee type and updating map to use an IterateeResult type.

* Shortening the names of nested list variables.

* Also collapsing pluck to a single overload.

* Switching groupBy back to allowing any rather than attempting to constrain to typical valid key types.

* Dropping unnecessary `keyof T` constraints and updating `string` and `string | number` constraints to `PropertyKey` since from experimentation Underscore works just fine with symbols as well.

* Wrapping return values for multi-line funciton declarations to their own line.

* Updating UnderscoreStatic functions that don't technically need the collection type to use it anyway for consistency with those that do.

* Renaming some mixed-dimension array variables one more time.

* Adding property path tests for groupBy.

* Changing "iterator" to "iteratee" in test group comments.

* Adding property path tests for filter.

* Updating IterateeResult to only care about the return type of an iteratee function since that's really all that matters from its perspective to fix issues with using function iteratees on values of type any.

* Working around some _Chain return types incorrectly using non-collections as their wrapped values.

* Using `T` rather than `TypeOfCollection<V>` in `Underscore.map` since I have it.

* Applying a shorter variable name that I had missed copying over from #45201.

* Fixing consistency issues with two more test variable names.

* Adding EnumerableKey and using that intstead of PropertyKey.
2020-07-04 17:29:08 -07:00
Nguyen Le Vu Long
c1b6138bd0
🤖 Merge PR #45886 [@types/redis] Update ts3.1/index.d.ts GET command should return string or null by @longngn
* Update index.d.ts

Redis' GET command return null (nil) if value is not found

References:
https://redis.io/commands/get
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/redis/index.d.ts#L449

* Update redis-tests.ts
2020-07-04 13:12:59 -07:00
Rumon
6ad660e115
🤖 Merge PR #45883 [gm] Added type definition for 'composite' method by @msrumon
* Added type definition for 'composite' method

* [gm] [test] Added test method for 'composite'
2020-07-04 07:04:41 -07:00
Vladimir Liutov
d952b3927e
🤖 Merge PR #45719 [react-bytesize-icons] Update to version 0.12.2 by @vslutov
- Add new parameters: id, className
- Add new icons: Bag, Clipboard, Desktop, Feed, Filter, Fullscreen, FullscreenExit, Microphone, Mobile, Move, Moon,
SignIn, SignOut, Telephone, ZoomIn, ZoomOut, ZoomReset
- Fix: typos Github->GitHub, Creditcard->CreditCard (was copied from library readme, I suppose)
- Fix: Remove stroke-* parameters from Github and Twitter icons
- Update project url
- Add Vladimir Liutov to author list
2020-07-04 04:41:58 -07:00
Frédéric Barthelet
ea4f80ee1f
🤖 Merge PR #45560 Fix serverless typing for httpApi logs and Environement by @fredericbarthelet
* Fix serverless typing for httpApi logs and Environement

* Add test
2020-07-03 09:40:05 -07:00
Elijah Lucian
c75302d40d
🤖 Merge PR #45855 Type updates for frappe-gantt library by @ELI7VH
Co-authored-by: Elijah Lucian <elucian@vizzn.ca>
2020-07-03 05:53:59 -07:00