Commit Graph
67722 Commits
Author SHA1 Message Date
Billy Newman 1944cc1a08 Add getTileUrl() method to TileLayer (#42859) 2020-03-06 12:49:51 -08:00
Alex Guerrero b1df7df803 feat(figma): Type definitions for update 14 (#42749) 2020-03-06 12:41:20 -08:00
Jan Vennemann e3d3be0cfd [titanium] update types for Titanium 9.0.0 (#42856)
* update types for Titanium 9.0.0

* fix: re-apply changes from ffMathy
2020-03-06 11:36:53 -08:00
André Vitor de Lima Matos 2f2c04790d Extend matrix-js-sdk types (#42861)
* Extend matrix-js-sdk types

* Remove ts@next broken reference to node types from dependency

matrix-appservice-bridge doesn't need node types now
2020-03-06 10:58:59 -08:00
slikts 0575208d27 matter-js: add Grid.bucketWidth, Grid.bucketHeight and update constraint render options (#42885)
* matter-js: add Grid.bucketWidth and Grid.bucketHeight

* matter-js: update constraint render options
2020-03-06 10:54:39 -08:00
Jack Bates 9a90baf2d8 [clockpicker] Enable noImplicitThis (#42900) 2020-03-06 10:51:36 -08:00
Gerhard Stöbich dc9e5bed38 [node] move to 13.9 (#42778)
* [node] move to 13.9

Added semver minor changes from 13.8/13.9 except crypto.

* add tests, add getHeapSnapshot

* fix lint
2020-03-06 10:47:46 -08:00
WhizSid 0cc3a47776 Using generic types in List Component (#42827)
* Using generic types in List Component

* Added a working example

* Removed the space before type parameters
2020-03-06 10:42:54 -08:00
Nader Al-ShammaandNader Al-Shamma 55454b960c Type definitions for FullCalendar-Vue (#42764)
* Add types for fullcalendar vue

* update dependencies

* added dependency

* update tests

* update tests

* updated type defs

* fix linting errors

* remove type and export interface

Co-authored-by: Nader Al-Shamma <naderal.shamma@mitrefinch.co.uk>
2020-03-06 10:38:11 -08:00
xinxinran0221010 50d5a672fa feat(bearcat-es6) add type definition for bearcat-es6 0.6.1 (#42825)
* feat(bearcat-es6) add type definition for bearcat-es6 0.6.1

* fix(bearcat-es6) fix tslint rules

* fix(bearcat-es6) fix tslint rules

* fix(bearcat-es6) supplement some interface and fix some tslint bug

* fix(bearcat-es6) fix some tslint bug

* fix(bearcat-es6) fix some tslint bug

* fix(bearcat-es6) fix some tslint bug

* fix(bearcat-es6) fix some tslint bug

* fix(bearcat-es6) fix some tslint bug

* fix(bearcat-es6) fix some tslint error, and restore tslint rule to default
2020-03-06 10:36:13 -08:00
Rick-Kirkham 414306ff5c office-js-preview Page-to-Dialog messaging APIs (#42873)
* office-js-preview page to dialog messaging

* review changes
2020-03-06 10:33:18 -08:00
Ata Berk Yılmaz 7b58985484 Added 'pi-camera' type definition (#42857)
* Added pi-camera type definition

* Revised test file
2020-03-06 10:08:29 -08:00
TypeScript BotandTypeScript Bot 9c196370fb Update CODEOWNERS (#42957)
Co-authored-by: TypeScript Bot <types@microsoft.com>
2020-03-06 09:59:09 -08:00
Nathan Shively-Sanders 0379f82590 make @wordpress/block-editor types stricter (#42898)
Typescript@next is stricter about type parameters constrained to any;
they are default to unknown instead of any during inference for consistency with other
type parameters.

This means that the easiest workaround is to give a type parameter
constrained to `any` a default of `any` so that they once again
default to `any`.

That's what this PR does; it also has to give the subsequent type
parameter a default as well.
2020-03-06 09:21:10 -08:00
Nikita Galkin 958ad18f21 Update Readme for Russian language (#42881) 2020-03-06 09:18:27 -08:00
Andrew Casey e534774027 [plotly.js] opacity to PlotData (#42866) 2020-03-05 16:24:37 -08:00
Andrew Casey 4ed701e133 add null as a valid return type of interceptors (#42842) 2020-03-05 16:24:12 -08:00
Andrew Casey d29e6f3c0d fix(d3-scale): add missing symlog scale (#42733) 2020-03-05 15:54:41 -08:00
Andrew Casey 61f3ed9ae2 added types for metric (#42730)
* added types for metric

* fixed lint
2020-03-05 15:51:24 -08:00
Andrew Casey 98f627db4a [@type/react-infinite-calendar] Describe locale.locale in detail (#42703)
* update: locale.locale

* update: test case

* Update locale types in more detail
2020-03-05 14:08:17 -08:00
Andrew Casey 5f2ca8c55a feat(gravatar): missing 1.8 version features (#42843)
- correct DT header and package version
- `profile_url` method
- `cdn` options property
- `forceProtocol` aligned with documented `protocol`
- adding new method resulted in module shape correction (export `url`
and `profile_url` directly from the module
- tests updated
- update tslint config

https://github.com/emerleite/node-gravatar#usage
https://github.com/emerleite/node-gravatar#examples
https://github.com/emerleite/node-gravatar/blob/dd76e570872ffb5cd215874aeb91c3c5eff06ff0/Changelog.md#180

Thanks!
2020-03-05 12:54:53 -08:00
Andrew Casey 1c9e1cbfbb [jasmine] Support custom async matchers (#42850)
* Add types for custom async matchers

* Add self to owners
2020-03-05 11:03:23 -08:00
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