Commit Graph
67700 Commits
Author SHA1 Message Date
Andrew Casey bf3b94190d update(mongodb): MongoError hasErrorLabel missing from 3.5 (#42844)
This is minor change:
- add missing `hasErrroLabel` method to the MongoError
- mark `create` static method as deprecated
- updates JSDoc for error classes to use 3.5 version

Thanks!
2020-03-05 10:59:11 -08:00
Andrew Casey 625f5b5df2 plaid-link: Add linkCustomizationName to CreateConfig (#42725)
Plaid Link now accepts a linkCustomizationName, user-defined on their dashboard,
 and passed in the CreateConfig.
2020-03-05 10:57:26 -08:00
Andrew Casey 9e887e9e2a pdfmake - update v0.1.65 (#42814)
* add missing types and tests

* lint

* Remove enums from module

* spaces not tabs

* tslint indent rule

* update pdfmake version

* Remove minor version
2020-03-05 10:54:36 -08:00
Andrew Casey ae7eb3a2db Add type IdleState to chrome.idle (#42852)
* Add type IdleState to chrome.idle

The chrome.idle API should use an IdleState type (https://developer.chrome.com/apps/idle) and like it's already used in chrome-apps (types/chrome-apps/index.d.ts).

* Remove trailing whitespace
2020-03-05 10:38:58 -08:00
Andrew Casey 46ff792525 [@types/frida-gum]: update: make Java.Wrapper more generic (#42826)
* [@types/frida-gum]: update: make `Java.Wrapper` more generic

* [@types/frida-gum]: update: bump version

* [@types/frida-gum]: update: improved generic types
1. more generics, like `Java.cast`, `Java.Field`, etc.
2. `this` of `Java.MethodImplementation` is now strictly typed so it's no longer necessary to specify the generic type of implementations explicitly
3. rename `Properties` to `Members`
4. fix JSDoc of `Java.retain` and `Java.ClassFactory.retain`
2020-03-05 10:37:45 -08:00
Andrew CaseyandColby M. White 52658e3c69 [chance] add option definition for chance.cpf() (#42835)
* chance: add option definition for chance.cpf()

* chance: remove `?` in option definition for chance.cpf()

Co-Authored-By: Colby M. White <colbywhite@users.noreply.github.com>

Co-authored-by: Colby M. White <colbywhite@users.noreply.github.com>
2020-03-05 10:36:28 -08:00
Andrew Casey 630f81bb3c iab-vpaid: Correct AdVideoMidPoint to AdVideoMidpoint (lowercase 'p'). (#42792) 2020-03-05 10:34:56 -08:00
Andrew Casey 51b474ebde @testing-library__react: add debug options (#42837)
* @testing-library__react: add debug options

* Create package.json
2020-03-05 10:33:19 -08:00
Andrew Casey 48275bff65 Add description field for choices (#42809)
https://github.com/terkelg/prompts#selectmessage-choices-initial-hint-warn
2020-03-05 10:31:50 -08:00
Andrew CaseyandKonstantin Azizov 31fc505ecf [@types/recharts]: LabelListProps: dataKey should be optional if valueAccessor is defined (#42816)
* [@types/recharts]: LabelListProps: dataKey should be optional if valueAccessor is defined

Signed-off-by: Fabien Caylus <fabien.caylus@gmail.com>

* Update types/recharts/index.d.ts

Co-Authored-By: Konstantin Azizov <konstantin.azizov@theagilehub.net>

Co-authored-by: Konstantin Azizov <konstantin.azizov@theagilehub.net>
2020-03-05 10:14:40 -08:00
Andrew Casey ca00181148 [plotly.js] - polar layout (#42832) 2020-03-05 10:13:53 -08:00
Eloy Durán 38fed275f9 [react-native] update NativeEventEmitter constructor and removeAllListeners method (#42847)
* update NativeEventEmitter constructor and removeAllListeners method

* add NativeEventEmitter test

* Add null to constructor args

Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com>

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-03-05 14:53:09 +01:00
Andrew Casey dacbc2e259 [@types/marked] fixed type of marked.MarkedOptions.highlight in case of async highlighting (#42579)
* [@types/marked] adjust `marked` function return types and callback being optional

* [@types/marked] update marked.MarkedOptions.highlight to reflect possible callback return types

* [@types/marked] add a test for the fixed edge case

* [@types/marked] add overloads to `marked` type definition to indicate sync/async functionality & return types

* [@marked/marked] update `marked.MarkedOptions.highlight` description to indicate sync/async functionality and intended return types

* [@types/marked] fix failing tests -- combine two overloads of `marked` default export

* [@types/marked] fix failing tests -- don't try to use a `void` return type

* [@types/marked] add description to overload; remove `return` from descriptions for synchronous overloads
2020-03-04 18:29:23 -08:00
Andrew Casey f32c44b81f fix(jsdoc-to-markdown): correct module definition and update to v5 (#42732)
* fix(jsdoc-to-markdown): correct module definition and update to v5

- update module definition fixing errors like:
```bash
TSError: ⨯ Unable to compile TypeScript:
index.ts:3:10 - error TS2339: Property 'render' does not exist on type
'typeof import("../node_modules/@types/jsdoc-to-markdown/index")'.

3 jsdoc2md.render({ files: 'src/*.js' }).then(...)
```
After this change the module is exported as regular CommonJS module
- update version to v5
- create backward compatible v4
- rewrite tests to match CommonJS module exports

https://github.com/jsdoc2md/jsdoc-to-markdown/blob/master/docs/API.md#jsdoc-to-markdown

Thanks!

* Fix v4 module definition as per PR comment

- module exports correct also for v4
- tests corrected for v4

/cc @amcasey
2020-03-04 16:13:58 -08:00
Andrew Casey b6ded2b97e Add just-map-values and just-safe-set types (#42739)
* Add some just functions

* Fix some tests

* Fixes for code review

* Fix tests
2020-03-04 16:12:34 -08:00
Andrew Casey df8a7d9356 [cesium] add constructor and removeProperty to PropertyBag (#42803)
* [cesium] add constructor definition for PropertyBag

* Cesium - add removeProperty to PropertyBag

* Add return type to removeProperty

* Make constructor value optional

* Don't make parameters on callback optional
2020-03-04 15:55:29 -08:00
Nathan Shively-Sanders 09dc238010 Add deprecation schedule (#42834)
* Add deprecation schedule

and explain tags a bit more fully

* improved formatting
2020-03-04 15:39:36 -08:00
Andrew Casey aac1184b61 [mongodb] Allow optional fields in $inc and $mul (#42821) 2020-03-04 10:42:04 -08:00
04aa80e248 update to 15.3 (#42822)
* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* update to 14.2

* add v13

* delete v13 for test not pass

* remove base64

* fixed conflict

* add back GetLicenseInfo

* change header version to 14.2

* Added definitions for new APIs as well as APIs whose definitions were missing before. Also adding APIs for addons

* remove unused file

* adding types for barcode reader and changing the copyright year

* comment change, TS to 3.2.2

* adds more definitions to dwt barcode reader

* rollback

* update

* update index.d.ts

* Update Dynamsoft.d.ts

It's ok

* Update index.d.ts

1. update 2017 -> 2019
2. update parameters

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update addon.pdf.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

no changes but whites

* Update index.d.ts

TypeScript Version can be 3.2
2017 => 2019

* Update index.d.ts

rollback

* update

* Update index.d.ts

start new request

* Update index.d.ts

delete this file

* Update

delete this file

* a

a

* rollback

* update

* remove package.json

* add current version to v13

* 1) update to version 14.3.1
2) change index.d.ts declare Dynamsoft

* update comments

* remove WebTWAIN.d.ts

* change v13 tsconfig.json

* change to v14.3.1

* change to v14.3.1

* change to version 14.3

* change to version 14.3

* update

* update

* Update index.d.ts

* Update index.d.ts

* Update tsconfig.json

* Update tsconfig.json

* update

* update

* aa

* a

* a

* update

* remove dwt.d.ts

* remove v12

* update1

* update

* update

* a

* a

* a

* a

* a

* a

* a

* a

* d

* a

* a

* b

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* change to v15

* add enums

* remove enums

* Updating to v15.0.2

* roll back to 1 previous version

* add back v15 APIs

* fix errors

* fix errors attempt 2

* update to 15.1

* upgrade to v15.2
add tag image

* fixed a few bugs

* fix grammar errors

* update a definition

* Fixed bug 'missing whitespace'

* update 15.3

* remove

remove

* remove blank line

remove blank line

Co-authored-by: Tom Kent <Tom-Dynamsoft@users.noreply.github.com>
Co-authored-by: Xiao Ling <lingxiao1002@gmail.com>
2020-03-04 10:41:32 -08:00
Gabriela Araujo Britto 48a4e9f3ce Add types for markdown-table (#42824) 2020-03-04 10:28:58 -08:00
Gabriela Araujo Britto 242f1501c6 Added types for jest-sinon package (#42819) 2020-03-04 10:25:59 -08:00
Eloy Durán 55c63598e0 [react-native] Specify more detailed type of hardwareBackPress handler (#42828)
* react-native: handleBackPress

* react-native: remove void from hardwareBackPress
2020-03-04 19:15:49 +01:00
Andrew Casey 97709c4e43 [react-table]: V7 upgrade to support rc-16 (#42411)
* [react-table]: V7 upgrade to support rc-16

Support the changes in
https://github.com/tannerlinsley/react-table/blob/master/CHANGELOG.md

Most of this in internal, by far the biggest user facing ripple is
flatColumns -> allColumns.

* add selectSubRows option

* remove column.show - no longer supported

* add className to TableCommonProps

* fix missing import, doh

* remove afters from ensurePluginOrder, it's effectively removed

* Update Hook definitions as well as address review comments

I've made a good effort to fix the types for the hooks, they look right,
but right now I have no code that uses them so they are at best
theoretical based on how they appear to be used in the code.
2020-03-04 10:13:43 -08:00
Gabriela Araujo Britto 5fff1d9bd5 feat(git-branch-is): new type definition for v3.1 (#42811)
- definition files
- test coverage

https://github.com/kevinoid/git-branch-is#api-usage

Thanks!
2020-03-04 10:00:14 -08:00
Gabriela Araujo Britto 13d2990c13 Fix typings of express-mysql-session (#42668)
* add corrected export and dependencie

* Update express-mysql-session-tests.ts

rewrite test for new version

* rename class

* fix linting
2020-03-04 09:57:08 -08:00
load28 79a1381357 Fxjs (#42797)
* add fxjs type

* add fxjs type

* add test

* add project

* add fxjs

* add file

* add

* add map, filter, find, flat, flatMap, every, delay, log

* add test

* tsconfig modify

* add fxjs-tests
2020-03-04 09:43:34 -08:00
Amir Hoseinian 7beeda8f83 Update flatten typing under StyleSheet namespace. React-Native (#42790)
* Update flatten typing under StyleSheet namespace.

* Add test for stylesheet.flatten()
2020-03-04 09:57:50 +01:00
Jack Bates 6e27c7e62f Enable noImplicitAny (#42693) 2020-03-03 17:49:06 -08:00
coyoteecd 411a2172a3 [serverless] Add getAccountId method (#42692) 2020-03-03 17:39:46 -08:00
Hafiz cac7b95568 feat(gestalt): updated gestalt to newest types v1.10.0 (#42765)
* refactor(gestalt): updated gestlat to newest types

gestalt updated to now version v1.10.0

BREAKING CHANGE: Box, Mask, Touchable

* added tests

* removed licence

* array error

* Array<> error

* array<> error fixed

* void type error after test fixed

* error on masonry fixed
2020-03-03 17:37:52 -08:00
Juliette Regimbal a3700d8358 Update default export of Diva.js (#42805) 2020-03-03 17:36:59 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 42f9f55fbb feat(standard-engine): new type definition v12 (#42752)
* feat(standard-engine): new type definition v12

- type definitions
- tests coverage for day-to-day usage scenarios

https://github.com/standard/standard-engine#readme
https://github.com/standard/standard-engine#usage

Thanks!

* Prevent Linter class export as per PR comment

Should be used only as export `linter` alias.

/cc @gabritto
2020-03-03 15:40:00 -08:00
Matthew a9a4d04925 [@types/rtp-parser] New Definition (#42784)
* add type definitions for https://www.npmjs.com/package/rtp-parser

* added test for payloadTypesHash

* make a generic version of the parseRtpPayloadType

* fixed some typos

* add test for generic number payload types
2020-03-03 11:24:38 -08:00
Sean Sellek 3dce8b667f add @mocha package declaration for mocha.loadFilesAsync() (#42684)
* add declaration for Mocha.loadFilesAsync()

* add test for mocha.loadFilesAsync()
2020-03-03 10:52:22 -08:00
Benjamin Pasero 02f205529e add color as mocha option (#42685) 2020-03-03 10:49:46 -08:00
Puneet Arora 58bda1626f [Express] [Type Update] Use generics for Response (#42662)
* use-generics-for-express-response-type: Use generics for Response in express

* use-generics-for-express-response-type: fixing ghost-storage-base-tests
2020-03-03 10:43:22 -08:00
a-sync 83cc9b0beb react-leaflet: fix GeoJSON data prop type + add test (#42800) 2020-03-03 10:39:48 -08:00
slikts 89a45f74a3 matter-js: add mouse events (#42794) 2020-03-03 10:39:10 -08:00
Kohei Matsubara a8a7b34a50 [stripe-v3] fix: add missing subtype 'validation_error' to ErrorType (#42789)
https://stripe.com/docs/api/errors
2020-03-03 10:38:42 -08:00
Jannic Beck 9258f91fd1 Fix typo (#42796) 2020-03-03 10:38:23 -08:00
Kent Robin 27eeffede9 [@types/parse] Added AuthProvider and user function definitions (#42651)
* Added AuthProvider, user._isLinked, user._unlinkFrom, User.logInWith, User._registerAuthenticationProvider. Changed signature of user.linkWith to match the one in the Parse.User documentation

* Added tests for changed and added types

* Added changes to TS 3.7 as well

* Removed deprecated _linkWith from TS 3.7 definitions
2020-03-03 10:38:02 -08:00
Crocsx eef9fcdc42 [@types/cesium] Add PropertyBag (#42782)
* property Bag

* add entity definition
2020-03-03 10:35:16 -08:00
Tomas Carnecky 1febfb278c @mdx-js/react exports mdx (alias for React.createElement) (#42657) 2020-03-02 18:20:40 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 60ff970f67 feat(is-relative-path): type definition for v2 (#42780)
- type definitions
- tests

https://github.com/mrjoelkemp/is-relative-path#usage

Thanks!
2020-03-02 17:48:33 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 80b5c8a717 feat(decomment): type definition for v0.9 (#42779)
- type definitions
- tests

https://github.com/vitaly-t/decomment#api

Thanks!
2020-03-02 17:47:31 -08:00
Jeffrey Cherewaty 67ab83d478 [styled-system] Add missing margin and padding properties (#42766) 2020-03-02 14:57:05 -08:00
Guy Gascoigne-Piggford f82b261f72 react-table: add maintainer (#42774)
Jason Clark <https://github.com/riceboyler> has offered to help maintain
this package and offered a good PR overlapping with the current open PR
which he then closed.  But it showed a good approach to the solution and
demonstrated an understanding of the problem space.
2020-03-02 14:55:49 -08:00
Alex Jerabek a101ca89ed [office-js, office-js-preview, office-runtime] Changing codeowners (#42772)
* Removing prompt verbage from selection binding options

* Changing codeowners
2020-03-02 14:52:47 -08:00
Kenneth Aasan 45762ad1ee newrelic adds distributed tracing Transaction handle method insertDistributedTraceHeaders (#42775)
* NewRelic: Adds insertDistributedTraceHeaders

* NewRelic: Adds insertDistributedTraceHeaders

* NewRelic: Adds insertDistributedTraceHeaders
2020-03-02 14:52:14 -08:00
Christopher Mühl f53fd2ba9c Add type definitions for "scrambo" (#42776)
* Add types for scrambo

* Satisfy linter

* Enable esModuleInterop

* Get rid of esModuleInterop
2020-03-02 14:44:37 -08:00