Commit Graph

70525 Commits

Author SHA1 Message Date
Jack Bates
fa8a29a57f
🤖 Merge PR #46702 [dtype] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-12 18:05:40 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
13f71a7d36
🤖 Merge PR #46621 feat(calc-percent): new moduel definition by @peterblazejewicz
Small helper module definition:
- definition file
- tests

https://github.com/kevva/calc-percent

Thanks!
2020-08-12 17:58:35 -04:00
chivesrs
b3a2e2cabe
🤖 Merge PR #46421 Remove moment-timezone from DefinitelyTyped by @chivesrs 2020-08-12 17:52:53 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
9844965e6b
🤖 Merge PR #46640 feat(luhn-generator): new type definition by @peterblazejewicz
- definition file
- tests

https://www.npmjs.com/package/luhn-generator

Thanks!
2020-08-12 17:52:29 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
ceb06f3560
🤖 Merge PR #46641 feat(@genyus/country-code): new type definition by @peterblazejewicz
- definition file
- tests

https://www.npmjs.com/package/@genyus/country-code

Thanks!
2020-08-12 17:49:26 -04:00
Justin
37903adeeb
🤖 Merge PR #46659 Braintree Web Dropin: cardCreateOptions.overrides is optional by @justincy
https://developers.braintreepayments.com/guides/drop-in/customization/javascript/v3
2020-08-12 17:43:05 -04:00
Filipe Mariano
fda4373744
🤖 Merge PR #46605 [react-mailchimp-subscribe] Split ResponseArgs by @mariano-filipe
Split into success and error responses. The 'message' of an error response can
also be an instance of Error when the jsonp request to MailChimp fails
(e.g. due to timeout errors). Also, bump minor version.
2020-08-12 17:40:09 -04:00
Dominik Henneke
efd1527d3d
🤖 Merge PR #46654 [swagger-ui-react] Allow spec to be a string instead of an object by @dhenneke 2020-08-12 17:12:32 -04:00
Rick-Kirkham
e9a1eb208a
[office-js, office-js-preview, office-runtime] change sso status from… (#46683)
* [office-js, office-js-preview, office-runtime] change sso status from preview to release

* review changes

* aligning asterisks

* remove trailing whitespace

* review changes

* review change
2020-08-12 11:40:20 -07:00
Remco Haszing
15a0bbbffa
🤖 Merge PR #46629 Remove types for bulma-calendar by @remcohaszing 2020-08-12 14:34:58 -04:00
Jérémie Astori
fdb23a970b
🤖 Merge PR #46308 [@types/update-notifier] Use Boxen's options type directly by @astorije
* Use Boxen's options type directly

This adds support for, for example: `margin: { top: 0, left: 3, bottom: 1 },`

* Update update-notifier-tests.ts

* Add boxen as a dependency package

See https://github.com/yeoman/update-notifier/blob/master/package.json#L37

Followed the example of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/pikaday/package.json, based on a suggestion by https://github.com/DefinitelyTyped/DefinitelyTyped#i-notice-some-packages-having-a-packagejson-here

* Apply suggestions from code review

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

* Fix tests

Signed-off-by: Jérémie Astori <jeremie@astori.fr>

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2020-08-12 13:10:43 -04:00
Abílio Costa
9f8ff98dd1
[@types/react-native] Add setNativeProps to ScrollView (#46242)
* Add setNativeProps to ScrollView

* Update setNativeProps type and doc

* Add test for ScrollView's setNativeProps

* Add test for View.setNativeProps
2020-08-12 15:05:42 +02:00
Felix212
c45d5b3a96
🤖 Merge PR #46596 [@types/node-forge] - change return type of decryptRsaPrivateKey() by @Felix212
* change return type

* added test
2020-08-12 04:36:31 -04:00
rockSandy
a97f3d72f2
🤖 Merge PR #46612 Add types for miniprogram by @rockSandy
* add miniprogram types

* feat: rename test file

* feat: add owner

* update commet

* feat: format for editconfig
2020-08-12 02:24:27 -04:00
Sfue
2a4dec52e0
🤖 Merge PR #46617 Added types for rgb2hex by @abh80
* Add files via upload

* fixed white spaces
2020-08-12 02:08:32 -04:00
Christoph Tavan
5ac9294b5d
🤖 Merge PR #46395 Upgrade types for uuid@8.3.0 by @ctavan
* Revert "added typing for "validate" function added in uuid release 8.3.0 (#46557)"

This reverts commit c50f1201c7.

* Upgrade types for uuid@8.3.0

* Export v1/v4 options
2020-08-12 01:52:30 -04:00
Artemis Kearney
e8d83de7f5
🤖 Merge PR #46527 Types for meteor/dburles:collection-helpers [meteor-dburles-collection-helpers] by @artemiswkearney
* Types for meteor/dburles:collection-helpers

* new Collection<T> now returns a Collection<T>, not a Collection<Data<T>>

* Modifier<T> -> Modifier<Data<T>>

* Retab mongo.d.ts; Data<T> no longer uses NonData<T>

* Types now distribute over unions

* Multiple improvements

- Fix behavior with null, undefined, void, and unions containing them
- Add OptionalHelper<T>
- Add AllowPartial
- Thoroughly document collectionHelpers.d.ts
2020-08-12 00:09:08 -04:00
Alex Kaul
3181e16275
🤖 Merge PR #46284 [node-red] New definitions (rewrites defs for 1 module, adds defs for 5 dep modules) by @alexk111
* New definitions for node-red

* [@node-red/util] Add jsonata dep

* [node-red] Add v0

* [node-red] Merge namespaces

* Fix compilation error caused by a space from prettier
2020-08-11 23:57:22 -04:00
करतोफ्फेलस्क्रिप्ट™
55e2c9837e
🤖 Merge PR #46142 [aws-lambda] add individual event types for all cognito triggers by @netroy 2020-08-11 23:15:37 -04:00
后悔编程哥
0b8b09b0b7
🤖 Merge PR #46608 [bmapgl] update bmapgl types by @Junior2Ran
* add @types/bmapgl

* update 3d api

* fix Object to object
2020-08-11 22:36:07 -04:00
Johnson Liang
1dc4371d07
🤖 Merge PR #46565 [react-router][v3] Fix router.setRouteLeaveHook signature by @MrOrz
* Fix setRouteLeaveHook signature

router.setRouteLeaveHook() should return a function that unbinds the listener.

@see [react-router v3 API](https://github.com/ReactTraining/react-router/blob/v3/docs/API.md#setrouteleavehookroute-hook)
@see [react-router v3 Implementation: router object](https://github.com/ReactTraining/react-router/blob/v3/modules/RouterUtils.js#L4)
@see [react-router v3 lsitenBeforeLeavingRoute](https://github.com/ReactTraining/react-router/blob/v3/modules/createTransitionManager.js#L204-L206)

* Add setRouteLeaveHook return type test

* Fix lint for react-router-tests.tsx

Co-authored-by: Johnson Liang <johnson.liang@appier.com>
2020-08-11 22:27:03 -04:00
Nathan Bierema
4672781367
🤖 Merge PR #46625 [redux-devtools-themes] Add redux-devtools-themes types by @Methuselah96
* Stash

* Stuff

* Commit

* Separate import and export

* Update index.d.ts
2020-08-11 21:48:42 -04:00
陆沉
62aa131676
🤖 Merge PR #46645 [@types/react-custom-scrollbars] feat: add style props of react-custom-scrollbars by @RaoHai
* feat: add style props of react-custom-scrollbars

* feat: add tests

Co-authored-by: raohai.rh <raohai.rh@antgroup.com>
2020-08-11 20:41:41 -04:00
Rick-Kirkham
26091d6853
office-js, office-js-preview: enhance Dialog event handler (#46679)
* office-js, office-js-preview: enhance Dialog event handler

* review change
2020-08-11 16:02:58 -07:00
Elizabeth Samuel
25dd86eff6
[office-js-preview] (Outlook) Add SessionData function overloads (#46681) 2020-08-11 15:37:04 -07:00
Michael Ness
aba9d5faa5
🤖 Merge PR #46650 [@types/underscore] Support readonly tuples in object calls by @reubenrybnik 2020-08-11 16:40:04 -04:00
Michael Ness
5ed5e96492
🤖 Merge PR #46634 [@types/underscore] Collection and Array Tests - Iteratee Cleanup by @reubenrybnik
* Replacing _ChainIteratee with Iteratee now that wrapped return types have been updated to return collection types where appropriate.

* Making it so the CollectionIterator key and collection parameters for sortedIndex include undefined as a possibility for when it is called to transform the value argument.

* Updating iteratee type comments in tests to better match Underscore nomenclature.

* Updating a test to reflect a compromise that I'm not super happy about but that I don't have a better solution for.

* Changing the default wrapped value for _Chain to T[] to better match what it used to be to reduce errors from functions that haven't been updated to use a correct wrapped value yet (e.g. array proxy functions).

* Also updating the default V for Underscore <T, V> to T[] since that was also what was historically assumed there by iterators if nothing else.
2020-08-11 16:39:03 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
ccd09fee0a
🤖 Merge PR #46666 update(follow-redirects): expose headers and version bump by @peterblazejewicz
- expose headers information as of 1.13
- add maintainer
- minor DT header change
- tests amended

https://github.com/follow-redirects/follow-redirects/compare/v1.12.1...v1.13.0

Thanks!
2020-08-11 15:57:37 -04:00
Arnulfo Solis Ramirez
3e69dd6158
🤖 Merge PR #46195 Mocha 8 - RootHook object type by @arnulfojr
* Mocha parallel and jobs options

* Remove deprecated functions

* Removed deprecated types

* Replace MochaSetupOptions for MochaOptions in browser mode

* Update deps to not use deprecated interfaces

* Added unloadFiles to mocha

* Mocha RootHook type
2020-08-11 15:04:36 -04:00
Pranay Prakash
2e748a87c2
🤖 Merge PR #46270 Fix types for npm package death by @pranaygp
* Fix types for npm package `death`

when using `uncaughtException: true`, the handler actually receives an `Error` and an `origin` instead of a signal. 

furhtermore, SIGHUP is not supported:

see:
f9453b68b8/lib/death.js (L2-L7)
f9453b68b8/lib/death.js (L31)
https://nodejs.org/api/process.html#process_event_uncaughtexception

* add tests

* prettier
2020-08-11 15:02:37 -04:00
Adam
9fc4c8ebb8
🤖 Merge PR #46657 react-email-editor: add missing configuration properties by @Adam-Howarth
* Added missing configuration properties for react-email-editor (Unlayer)

The additional properties are defined here: https://docs.unlayer.com/docs/features#emojis

* Missing brace

* Duplicate definition
2020-08-11 09:05:06 -04:00
Caleb Clarke
e182b4dfdb
[@types/react-native] Add missing 'unknown' and 'extension' values to AppStateStatus (#46464)
* [@types/react-native] Add missing 'unknown' value to AppStateStatus

* Added test

* Add 'extension' app state value, as per fcb667059d/React/CoreModules/RCTAppState.mm (L27)
2020-08-11 13:08:38 +02:00
sinan92
253b176a48
🤖 Merge PR #46655 Added generateId to SocketIO.Server.engine by @sinan92
* Added generateId to SocketIO.Server.engine

* Changed generateId function to take string param and return a string

* Changed generateId to take "http.IncomingMessage" as first parameter.

* Test

* Added testOverwriteGenerateId test

* testOverwriteGenerateId test now throws an error if it fails
2020-08-11 05:25:58 -04:00
Timothy
9d80342901
🤖 Merge PR #46651 tmi.js: Add VIP badge to Badges interface by @timothy1205
* Add VIP badge to Badges interface.
Twitch badge list can be found at
https://help.twitch.tv/s/article/twitch-chat-badges-guide?language=en_US
Also https://dev.twitch.tv/docs/irc/tags#globaluserstate-twitch-tags under 'badges' parameter.

* Include new badge in test
2020-08-11 05:01:37 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
db841e9f31
🤖 Merge PR #46664 update(terser-webpack-plugin): update to v4.1 by @peterblazejewicz
- limit types of props returned with result, this is actually 4.0
public API change:
https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.1.0...v4.0.0

- tests updated
- minor version bump

Thanks!
2020-08-11 04:08:41 -04:00
Chris McClymont
9d055f00a1
🤖 Merge PR #46536 [@types/branch-sdk] Update incorrect function name: getBrowserFingerprint by @mcclymont 2020-08-10 23:41:43 -04:00
Carl Fürstenberg
08496fde74
Adding @types/s3-streams (#46016)
* Adding @types/s3-streams

* Use LTS node on Actions

Co-authored-by: Andrew Branch <andrew@wheream.io>
2020-08-10 14:56:30 -07:00
Alexander Patton
c1375f8e7e
🤖 Merge PR #46656 Update sqs.d.ts in aws-lambda to include support for FIFO SQS event by @alexander-patton
* Update sqs.d.ts

Additional SQSRecordAttributes to support FIFO SQS queue, see Example Amazon SQS message event (FIFO queue) here: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html

* added test for sqs fifo
2020-08-10 17:34:24 -04:00
Andrew Branch
6c89bdebe3
Use LTS node on Actions (#46665) 2020-08-10 13:54:59 -07:00
Syncfusion-JavaScript
f8610822ba
18.2.44 added (#45921)
* 17.3.26 added

* Error fixed

* Removed Bad character

* Removed new line

* Added new line

* 17.4.39 added

* Commit index and ej file

* Revert "Commit index and ej file"

This reverts commit 2f2905412930ebcdea1a80d147febd011f7c5686.

* changed ts file

* Adde non-npm package

* Removed bad character

* removed irregular whitespace

* 17.4.46 added

* Removed unwanted character

* Added the chnages

* Removed Space

* 18.1.36-beta added

* Removed unwanted character

* Added changes

* Commit add non-npm changes

* Remove Space

* Add value for line

* Add datepicker line

* Commit with space

* Removed  line

* Encoding format as UTF-8

* Added new line

* Removed Trailing spaces

* Removed line

* rempved trailing spaces

* 18.1.42 added

* Changed convert type to utf-8

* commit irregular space issue

* commit remove space issue

* commit non npm added

* 18.1.52 added

* remove unwanted character

* Convert to utf-8

* Removed blank line

* 18.2.44 added

* Removed Unwanted character

* Commit package.json files changes

* Added comma

* commit package.json

* Reverted package.json files
2020-08-10 13:24:32 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
406a6a6a67
feat(react-world-flags): new types for React component (#46489)
- definition file
- tests

https://github.com/smucode/react-world-flags

Thanks!
2020-08-10 11:43:16 -07:00
Cameron Little
ff4f270af1
🤖 Merge PR #46636 nova-editor: Add new features between beta 10 and 17 by @apexskier 2020-08-10 13:49:03 -04:00
Nathan Shively-Sanders
4fb9de2aad
Expected type should include null as well. (#46660)
I'm not sure how this passed CI tests. Perhaps dependencies changed?
2020-08-10 10:47:06 -07:00
Adi Dahiya
b4330da8eb
🤖 Merge PR #46574 [react] mark KeyboardEvent keyCode and charCode as deprecated by @adidahiya 2020-08-10 10:06:57 -04:00
Cristian Calugar
5d34f1399f
🤖 Merge PR #46653 unl-core update type definitions by @cristian-calugar
* feat(unl-core): Update type definitios for unl-core library

* fix(unl-core): Fixed lint error
2020-08-10 05:30:44 -04:00
Alexander Pepper
f826a48d9b
🤖 Merge PR #46616 [@types/urijs] Extended types for URI.buildQuery, URI.parseQuery, search and query by @apepper
* [@types/urijs] Added test for URI.buildQuery().

* [@types/urijs] Improve types for URI.parseQuery, search(true) and query(true).

* [@types/urijs] Add apepper as co-author.
2020-08-10 03:27:31 -04:00
ocavue
d887e7442d
🤖 Merge PR #46503 [markdown-it] fix the type of StateInline.tokens_meta by @ocavue
* fix the type of `StateInline.tokens_meta`

* Update markdown-it-tests.ts
2020-08-10 02:56:39 -04:00
CattChen
5ab193c6b8
🤖 Merge PR #46637 feat: mockjs.Random.extend() signtuare by @ChenKS12138
* feat: mockjs.Random.extend()

* chore: format code
2020-08-09 22:12:37 -04:00
Michael Ness
ef939c19ca
🤖 Merge PR #46635 [@types/underscore] Object Tests - Pick and Omit by @reubenrybnik
* Updating type definitions for pick and omit and adding tests.

* Fixing a few parameter names and summary comments.

* Updating _Pick to not translate any to any since _Pick<any, K> is useful and doesn't present the same issues as _Omit<any, K>.

* Removing the object constraint on V for pick and omit since it seems to work with strings as well.

* Moving the array case to the first overload and updating the second overload to only take an iterator.

* Removing references to whitelisting and blacklisting from summary comments.

* Minor comment update.

* Tossing an extends string constraint on K because I can now and it seems like a nice thing to do.
2020-08-09 21:39:44 -04:00
Aimee Gamble-Milner
16c800a86b
🤖 Merge PR #46627 [slonik] Update createPool() and add missing errors by @aimee-gm
* run prettier on slonik

* fix createPool() typing

* add missing error types
2020-08-09 15:46:22 -04:00