Commit Graph

73256 Commits

Author SHA1 Message Date
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
James Irvin
6fe087559e 🤖 Merge PR #50155 [react-table] Add autoResetHiddenColumns to TableOptions by @jamirvin 2020-12-16 11:04:56 -08:00
Elizabeth Samuel
7af046e622 [office-js] [office-js-preview] (Outlook) Note attachmentId limits for removeAttachment (#50064) 2020-12-16 11:04:43 -08:00
Nathan Shively-Sanders
84517adcc5 Revert "🤖 Merge PR #50061 @types/serve-static: Fix tests by @christophgysin" (#50154)
This reverts commit df556173f1.
2020-12-16 09:28:22 -08:00
Charles Hughes
1b088fc5d2 🤖 Merge PR #50141 [Ramda] Update pipeWith definition to match latest version by @chughes87
Co-authored-by: Charles Hughes <charleshu@zillowgroup.com>
2020-12-16 09:03:14 -08:00
Leonidas Arvanitis
260c5bdff4 Add ElementsDefinition to cy.add() (#50126)
According to https://js.cytoscape.org/#cy.add
> If plain element objects are used, then the same format used at initialisation must be followed.

And according to https://js.cytoscape.org/#notation/elements-json
> The elements JSON may alternatively be in the following format, keyed by group

Also, tested and working with cytoscape@3.17.0
2020-12-16 14:58:01 +00:00
schrufygroovy
1ef5e11b8f 🤖 Merge PR #50148 k6/http CookieJar.set() has wrong arguments by @schrufygroovy 2020-12-16 06:50:23 -08:00
Jonathan Hensley
37a5610721 Add pseudo-localization types (#50138)
Co-authored-by: Jonathan Hensley <jonathan.hensley@workday.com>
2020-12-16 14:48:48 +00:00
Chris Midgley
bc6081101a xml-encryption: create typings (#50130)
* xml-encryption: create typings

* fix(xml-encryption): allow null or error in callback

* feat(xml-encryption): constrain allowed encryption algorithms

* feat(xml-encryption): split encryption options and encryption key options

* fix(xml-encryption): limit input_encoding to those accepted by cipher

* fix(xml-encryption): ci failure when importing from crypto, declare locally
2020-12-16 14:38:37 +00:00
Abner Soares Alves Junior
299c4e06ca 🤖 Merge PR #49524 [yup]: adds TestContext and originalValue on types by @abnersajr
* [yup]: adds TestContext and originalValue on types

* [yup] change wrong type value
2020-12-16 06:37:18 -08:00
TB
77bd9180a5 Add types for wechat-miniprogram-xmly-plugin (#50124)
Co-authored-by: tb.liu <tuobing.liu@ximalaya.com>
2020-12-16 14:36:57 +00:00
Xun Sun
305f212868 🤖 Merge PR #49964 markdown-it: remove dependency highlight.js (and only keep @types/highlight.js) to resolve vulnerability GHSA-7wwv-vh3v-89cq by @UNIDY2002
* Bump dependency `highlight.js` of `types/markdown-it` from 9.7.0 to 10.4.1

* Add support for changed API of `markdown-it` (https://github.com/markdown-it/markdown-it/issues/626) at 12.0.0

* Revert dependency `highlight.js` to ^9.7.0
(So that the TypeScript version can remain 2.0, and will not break the requirements of the dependents of this library.)

* Adjust test code for types/markdown-it
2020-12-16 05:27:45 -08:00
PRR24
7530362d17 🤖 Merge PR #50135 stripe-v3 StripeOptions apiVersion by @PRR24 2020-12-16 05:23:48 -08:00
Marais Rossouw
b233f6a521 [relay-runtime]: Removed old execute events from log (#50137)
* [relay-runtime]: Removed old execute events from log

* chore: updated tests
2020-12-16 13:14:38 +01:00
guruguru-dekiruko
b1253fc6e1 [react-native]remove deprecated props (accessibilityTraits, accessibilityComponentType) (#49983)
* [react-native] remove deprecated props

* Replaced accessibilityComponentType props and add deprecated

* [react-native]removed deprecated Props(accessibilityTraits and accessibilityComponentType)
2020-12-16 13:13:50 +01:00