Commit Graph

73270 Commits

Author SHA1 Message Date
Orta Therox
e57425f118 Update README.md (#50088) 2020-12-22 14:19:47 +00:00
Ken Davidson
0ad4351eb3 🤖 Merge PR #50188 (googlemaps) Update map.d.ts with browser domEvent types by @kenjdavidson
* Update map.d.ts

Updated with `domEvent` matching the current documentation [https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent](https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent).

* (feat) googlemaps: Updated with latest MapMouseEvent

- Renamed MouseEvent to MapMouseEvent matching the Google Maps API

* Update types/googlemaps/reference/polygon.d.ts

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

* Update types/googlemaps/reference/map.d.ts

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

* Update types/googlemaps/reference/map.d.ts

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

* Updated googlemaps version as requested in PR

* Update types/googlemaps/index.d.ts

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
2020-12-22 04:45:41 -08:00
Inrixia
618bfe85fd 🤖 Merge PR #50199 [tough-cookie-file-store] Fixed missing support for allowSpecialUseDomain by @Inrixia
* Fixed missing support for allowSpecialUseDomain

* Fixed unexpected path mapping

* Added overload for findCookies

* Updated all types to be in line with the current state of the package
2020-12-22 04:17:33 -08:00
Loïc Huder
1f786c3fb4 🤖 Merge PR #49920 [react-slider] Update react-slider types to 1.1 by @loichuder
* Updated react-slider types to 1.1

* Reorganized types to match react-slider doc
2020-12-21 23:03:25 -08:00
Yan Shi
5d48d8ba9b 🤖 Merge PR #49753 [@types/generate-json-webpack-plugin] support null as parameters by @yenshih
* fix: support null as parameters

* add test cases for null parameters
2020-12-21 21:53:35 -08:00
Doug Ayers
9dc541561d 🤖 Merge PR #50220 Add 'search' method to connection.js by @douglascayers
* add 'search' method

* add 'search' tests

Co-authored-by: trailhead-content-bot <trailhead_content_publish_toolchain@salesforce.com>
2020-12-21 19:07:24 -08:00
TeamworkGuy2
7d4239273f 🤖 Merge PR #49838 [module-deps] fix 'options.transform' and 'options.resolve' with new types by @TeamworkGuy2 2020-12-21 17:38:44 -08:00
Gareth Jones
8ca3032070 🤖 Merge PR #50224 feat(aws-lambda): use interfaces for key-value object properties to allow merging by @G-Rath 2020-12-21 15:10:12 -08:00
dbilgin
be5b6c0e88 🤖 Merge PR #50170 detox v17.14.6: missing swipe arguments added by @dbilgin
* detox: missing swipe arguments

added normalizedStartingPointX and normalizedStartingPointY for swipe action in connection to the documentation.
https://github.com/wix/Detox/blob/master/docs/APIRef.ActionsOnElement.md#swipedirection-speed-normalizedoffset-normalizedstartingpointx-normalizedstartingpointy

* chore: added tests
2020-12-21 12:26:22 -08:00
OlenDavis
d12bacba43 🤖 Merge PR #49809 Fixes and improvements for @types/snapchat-lens-studio by @OlenDavis
* * Fixes that all types that extend Asset should be accessed via the Asset namespace.
  * This is technically a breaking change, but only of previously erroneous typings.
  * Therefore, along with moving the handful of interfaces that weren't in the Asset namespace into it, I've included another large test script -- face-in-video-controller.ts -- to verify these corrected typings.
* Improves the typing of SceneObject's getComponent and getComponents so the return values are correctly typed if the string passed in is a literal.
* Improves the typing of Component.ScriptComponent so that the script input and api typings are easily defined by extending the SnapchatLensStudio.ScriptInputs and SnapchatLensStudio.ScriptApi interfaces, providing an example of how to do so.
* Documents for the `Pass` interface how to extend it for the various possible Shader Properties, which are not documented as necessarily being available or not on the Pass type in Snapchat's API documentation https://lensstudio.snapchat.com/api/classes/Pass/ in spite of all examples involving it assuming they do exist.

* Restores the `files` tsconfig.json property.

* Fleshes out the following interfaces that were incomplete in @julien-c's initial type definitions (I hadn't noticed till I started using them - and added a test for the same):
* Transform
* Material

* Refactors the existing tests to take advantage of the typing improvements for the Component.ScriptComponent's ScriptInputs and ScriptApi interfaces

* Adding @mhwinkler as an author on this.

* Makes the coords of the vec2, vec3, vec4, quat, and vec4b optional (as they actually are)

* Reverts the last change; those arguments are *not* optional. (It was the MathLib classes that have those optional parameters, not the system ones.)

* Slight comment instructions copy update
2020-12-21 12:04:29 -08:00
Kim WooHyun
f3b4ddaf5c 🤖 Merge PR #50210 [carbon-components-react] Add align props in Tooltip by @KimWooHyun 2020-12-21 07:09:31 -08:00
Tyler Gray
f70405e4f4 🤖 Merge PR #50067 Added missing toGeoJSON to AbstractGeometry inside HereMaps by @TylerGrayStudent
* Added missing toGeoJSON to AbstractGeometry

* Test added

* Used object vs Object

* Removed extra lines

* More space formatting

Co-authored-by: Tyler Gray <wtgray@hirequest.com>
2020-12-21 06:33:42 -08:00
Alexander Jank
b1af4a2a27 🤖 Merge PR #50015 @types/auto-sni: allow callback or async callback by @jankal
* @types/auto-sni: update tests

* @types/auto-sni: update type to allow callback for domains option

* fix(@types/auto-sni): add parentheses

* fix(@types/auto-sni): update test

* feat(@types/auto-sni): add dir option

* feat(@types/auto-sni): add dir to test
2020-12-21 05:28:06 -08:00
Jørgen Elgaard Larsen
6e2ce96660 🤖 Merge PR #49835 feat(tedious): set type for cryptoCredentialDetails by @elhaard
Inside tedious, this is eventually used to call tls.createSecureContext()

https://nodejs.org/docs/latest/api/tls.html#tls_tls_createsecurecontext_options

69ad8243d4/src/connection.ts (L1669)
2020-12-21 02:47:05 -08:00
TS Bot
08295f389b 🤖 Update CODEOWNERS 2020-12-21 08:35:48 +00:00
Bartosz Kopciuch
751f9d434a 🤖 Merge PR #50157 Add rest operator and array type handling for omit-deep-lodash by @ideffix
* Add rest operator and array type handling for omit-deep-lodash

* Update version

* Revert "Update version"

This reverts commit 50ef98f9f8e229d36c5cc5d277fe4a3a1ce8973d.
2020-12-20 22:50:16 -08:00
Mark Dalgleish
60b77d431c 🤖 Merge PR #49594 fix(autosuggest-highlight): Fix matches type by @markdalgleish 2020-12-20 16:09:53 -08:00
Ilia Pozdnyakov
a4c32a65f4 🤖 Merge PR #50057 [promptly] all functions return promises by @iliazeus 2020-12-20 04:25:59 -08:00
CattChen
6de1fd5333 🤖 Merge PR #50192 Add wx.loadFontFace declaration by @ChenKS12138 2020-12-19 20:37:05 -08:00
Joe Lencioni
23d7b626c5 [react-router-config] Allow custom route config type (#50013)
* [react-router-config] Allow custom route config type

I am working in a codebase where we extend the route object with
some custom properties. To make this work with TypeScript, we need
to be able to specify a custom route config type. This commit
expands the generics here to allow this to be threaded through the
types in a backwards-compatible way.

* Run Prettier on react-router-config files

The diff included a lot of things that I hadn't touched in my previous
commit, so I decided to do this as its own commit to make it easier to
review.
2020-12-19 17:59:55 +00:00
Jack Bates
b87e8efce6 [README] Create an OTHER_FILES.txt section (#50149) 2020-12-19 07:07:36 -05:00
Jack Bates
889b37ddd2 Merge #49575, #49686, #49944 and #49945 -> README.ja.md (#50152) 2020-12-19 06:47:57 -05:00
James Hill
6280d8d41a 🤖 Merge PR #50164 kurento-client: Added generic overload for getMediaobjectById() by @jhukdev
* Added generic overload for getMediaobjectById

* Added comment above method

* Added test for new usage

* Added suggestion and type assertion to test
2020-12-19 03:11:39 -08:00
Eli Barzilay
9b02f6817a Quote some missed file names (#50193)
Mostly in section headers, but elsewhere too.

Also switch from `<my package>` to `<my-package>`.
2020-12-19 05:02:49 -05:00
Marais Rossouw
4fbb00eb5c chore: Entria's Relay Experimental no longer needed (#49033) 2020-12-18 23:02:54 -05:00
besemuna
bd9db3006f 🤖 Merge PR #49993 flutterwave-node by @besemuna
* setup 🎉

* add Card.charge()

* add Card.validate()

* add Status.requery()

* add Status.xrequery()

* add Account.charge()

* add Account.validate()

* add TokenCharge.card()

* add TokenCharge.account()

* add MobileOptions.chargeUssd()

* add Misc.getFee():

* add Misc.getBalHist()

* add Misc.getBanks()

* add Misc.disburse()

* add Misc.getBalance()

* add Misc.exchange_rates()

* add Misc.list_transactions()

* add Preauth.preauth()

* add Preauth.void()

* add Preauth.void()

* add Preauth.captureCard()

* add security

* add CustomRequest

* add Transfer.initiate()

* add Transfer.bulk()

* add Transfer.fetch()

* add Transfer.list()

* add Transfer.getApplicableFee()

* add Transfer.getBalance()

* add Transfer.retrieveStatusOfBulk()

* add Transfer.accountVerification()

* add Subaccount.create()

* add Subaccount.list()

* add Subaccount.fetch()

* add Subscription.list()

* add Subscription.fetch()

* add Subscription.activate()

* add Subscription.cancel()

* add Paymentplan.create()

* add Paymentplan.list()

* add Paymentplan.fetch()

* add Paymentplan.cancel()

* add Paymentplan.edit()

* add MobileMoney.mpesa()

* add MobileMoney.ghana()

* add MobileMoney.zambia()

* add MobileMoney.rwanda()

* add MobileMoney.francophone()

* add MobileMoney.uganda()

* add VirtualCards.create()

* add VirtualCards.list()

* add VirtualCards.get()

* add VirtualCards.terminate()

* add VirtualCards.fund()

* add VirtualCards.fetchTransactions()

* add VirtualCards.withdraw()

* add VirtualCards.freeze()

* add VirtualCards.unfreeze()

* add Bvn.verification()

* add VirtualAccount.accountNumber()

* add Refund.refund()

* add VerifyTransaction.verify()

* add BillsPayment.bills()

* add Settlement.list()

* add Settlement.fetch()

* add USSD.charge()

* add Ebills.create()

* add Ebills.update()

* fix : lint issues

* fix : package name

* add test

* add name to definition owners

* make package.json private

* add index header

* ljlj

* fix export = in tslint

* fix export

* add esModuleInterop

* fix tslint.json

* revert CODEOWNERS
2020-12-18 16:28:35 -08:00
Jesse Chan
ce6104a44c Deprecate types of feedsub (#50106) 2020-12-18 22:36:50 +00:00
Elizabeth Samuel
c230c93591 [office-js] [office-js-preview] (Outlook) Add link to internet headers article (#50186) 2020-12-18 12:38:36 -08:00
Mathieu Dutour
4e78c523d1 [SAML2-js] update SAML2-js types for version 2.x (#49787)
* update saml2-js types

* add mathieudutour to definition author

* fix lint

* fix jsdoc alignment
2020-12-18 19:53:30 +00:00
Piotr Błażejewicz (Peter Blazejewicz)
ab539dc723 update(moment-business-time): version 1.1 (#49773)
- `nextTransitionTime` added
- `lastTransitionTime` added
- version bump
- tests amended
- maintainer added

https://github.com/lennym/moment-business-time/compare/v0.7.1...v1.1.0

Thanks!
2020-12-18 19:50:22 +00:00
ArvinWei
2390d3d802 add type definition for ipaiva package (#50078)
* add type definition for ipaiva package

* 🐛 fix ERROR: 1:25  dt-header  Error parsing header. Expected: foo MAJOR.MINOR (Needs MAJOR.MINOR)
2020-12-18 19:47:41 +00:00
Ravi van Rooijen
8c217fab45 [passport-google-oauth20] Add interface for 'params' in verify callback (#49734) 2020-12-18 19:46:50 +00:00
Alessandro Rabitti
75f51c7f51 Add type definition for bero package (#50041)
* Add bero type definitions

* Fix type issues and configuration

* Fix all export in index.d.ts

* Remove whitespaces in favour of spaces
2020-12-18 19:45:51 +00:00
Tom Price
71fa6e8025 [@types/jitsi-meet] Add intial types used by the jitsi-meet external iFrame API. (#50069)
Current a pretty complete list of all types that can be used, with sensible completion on listeners and callback hinting.
2020-12-18 19:44:45 +00:00
Jojoshua
19875cf9dd tabulator-tables 4.9 updates (#49737)
* 4.9 updates

* Lint fixes
2020-12-18 19:42:13 +00:00
Dieter Oberkofler
574cc23c69 Update JQueryUI - DraggableEventUIParams (#49605)
* Update index.d.ts

The property `originalPosition` was missing in the `DraggableEventUIParams` type

* Update index.d.ts

* Add test

* Update index.d.ts
2020-12-18 19:38:32 +00:00
Dasa Paddock
a2f8ea161f 🤖 Merge PR #50171 [arcgis-js-api] Update for version 4.18 by @dasa
* Update for ArcGIS API for JavaScript version 4.18

* Update tests
2020-12-18 11:10:05 -08:00
Dasa Paddock
3b4e1e77f4 🤖 Merge PR #50184 [arcgis-js-api] Update for version 3.35 by @dasa 2020-12-18 10:54:12 -08:00
Nathan Bierema
0cdaceec05 [styled-components] Move React Native-dependent types to separate package (#49914) 2020-12-18 18:25:46 +00:00
Sara Marcondes
ba517907ba 🤖 Merge PR #48438 [@wordpress/components] Update Button props by @saramarcondes
* [@wordpress/components] Update Button props

* [@wordpress/components] Update ButtonGroup tests for `ref`

* Remove experimental prop

* Mark isToggled as deprecated
2020-12-18 09:45:21 -08:00
Karsten Schmidt
1de95b18c7 🤖 Merge PR #50183 [@types/snowpack-env] remove readonly flag for ImportMeta.url by @postspectacular
* [@types/snowpack-env] remove readonly flag

make `ImportMeta.url` compatible w/ WHATWG spec and `@types/node` typedef

References:
- https://github.com/snowpackjs/snowpack/discussions/1869
- https://html.spec.whatwg.org/multipage/webappapis.html#hostgetimportmetaproperties

* [@types/snowpack-env] update test stub
2020-12-18 09:32:54 -08:00
Nathan Shively-Sanders
0435c0549f Work around uncalled function errors in chrome-apps tests (#50182)
Typescript issues an error if a function is tested without subsequently
being used. So I added some obviously-ignored uses of the tested
functions in the chrome-apps tests.
2020-12-18 08:57:53 -08:00
Ron Buckton
4c607e686e @wordpress/data-controls: Remove unneeded test. (#50175)
This removes a test from `@wordpress/data-controls` that doesn't test anything useful and is broken by https://github.com/microsoft/TypeScript/pull/41348 because all of the variables created are now considered "implicitly `any`".
2020-12-18 09:04:39 +00:00
Risto Keravuori
9209cf019b 🤖 Merge PR #49239 styled-components: Update forwardedAs to vary from as by @merrywhether
* styled-components: Update forwardedAs to vary from as

* Run prettier on styled-components directory

* Switch to interface instead of type

* Alter generics order for backwards compat

* Backport to TS3.6

* Attempt switching to TS3.6 TODO version

* Use interface instead of type (again)

* Roll forward another TODO
2020-12-17 18:46:55 -08:00
rxliuli
3bcabd6a4e 🤖 Merge PR #49143 Update the type returned by the list method by @rxliuli
* Update the type returned by the list method

* Update 5.4, Update the type returned by the list method

* Revert "Update 5.4, Update the type returned by the list method"

This reverts commit ac9f1820
2020-12-17 18:15:34 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
ae50eb9ce3 🤖 Merge PR #49807 update(pify): v5 update by @peterblazejewicz
This updates to version 5 and while doing so, as the update has no
breaking API changes, make some cleanup and simplification in the module
definition, so it's easier to maintain:
- linter simplification
- DT header rewrite with proper versioning, etc
- tests amended
- version bump

https://github.com/sindresorhus/pify/compare/v3.0.0...v5.0.0

Thanks!
2020-12-17 14:24:44 -08:00
Erick Estevão Riva Pramio
5d2ecf70ab [react-native] Added 'textAlign' prop to TextInput definition (#50146)
* Update index.d.ts

Added 'textAlign' prop on TextInputProps.

* Added test

* ...

* Update index.tsx
2020-12-17 10:42:06 +01:00
Martin Heidegger
3644e0caf5 🤖 Merge PR #50128 [codecs] fixing lookup to match the actually exported codecs by @martinheidegger 2020-12-16 21:12:31 -08:00
Nathan Shively-Sanders
6e926863e4 Ajv updated to 7.0 -- update the tests of dependents (#50156)
* Ajv updated to 7.0 -- update the test

It now needs to be imported with default imports.

* Update index.d.ts too, require TS 3.8

Looks like ajv@7 requires TS 3.8 or higher.

Also update ajv-errors-tests options passed to Ajv.
2020-12-16 13:46:40 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
1ddecfdcc1 🤖 Merge PR #49748 update(email-templates): v8 update by @peterblazejewicz
- version 8 update
- paraterless constructor support
- Juice types support

https://github.com/forwardemail/email-templates/compare/v7.2.0...v8.0.0
https://github.com/forwardemail/email-templates/blob/master/src/index.js#L30

- naming convention aligned with source:
https://github.com/forwardemail/email-templates/blob/master/src/index.js#L29
https://github.com/forwardemail/email-templates#basic

Thanks!
2020-12-16 12:42:40 -08:00