Commit Graph
68277 Commits
Author SHA1 Message Date
Slava Fomin II cc78cc2e22 [@babel/preset-env] Add types (#43612) 2020-04-03 16:09:46 -07:00
Emily Marigold Klassen c35c497c2b [mrz] Add types (#43614) 2020-04-03 16:08:55 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 498c7f6d51 feat(express-fileupload): uploadTimeout added (#43620)
- missing from recent updates `uploadTimeout`:
https://github.com/richardgirges/express-fileupload/releases/tag/1.1.6
- minor JSDoc defaults changes for `uriDecodeFileNames` and
`abortOnLimit`

https://github.com/richardgirges/express-fileupload/releases/tag/1.1.6

Thanks!
2020-04-03 15:42:00 -07:00
Slava Fomin II 10cd7dd545 [@babel/plugin-transform-runtime] Add types (#43617) 2020-04-03 15:28:48 -07:00
Elizabeth Samuel 7d07319135 [office-js] [office-js-preview] (Outlook) Note optional properties (#43621)
* [office-js] [office-js-preview] (Outlook) Note optional properties

* [office-js] [office-js-preview] (Outlook) Additional optional properties
2020-04-03 14:58:12 -07:00
Linus Miller 9b0ab8a838 Return this from mockClear and mockReset (#43615) 2020-04-03 13:54:21 -07:00
Brent Erickson 8125c0c962 Updated jest pinned dependencies (#43613)
* Updated pinned dependencies

`jest-diff` and `pretty-format` were previously pinned in #43531 to work around backwards compatibility issues with the typescript definitions. Facebook added tooling to allow down-leveling their type definition in facebook/jest@d4057ce, which landed in 25.2.7, so bump the semver dependency to this.

* Pick an older version, this change is available in 25.2.1

* Bump min version to typescript 3.1

* Bump additional typescript versions
2020-04-03 13:53:55 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 2729c1ac01 fix(braintree-web): add missing propertes to factory methods (#43433)
* fix(braintree-web): add missing propertes to factory methods

- `authorization`
- `version`

https://braintree.github.io/braintree-web/current/module-braintree-web_hosted-fields.html#.create
https://braintree.github.io/braintree-web/current/module-braintree-web_three-d-secure.html#.create

/cc @jbojcic1

Thanks!

Fixes: #43346

* Add missing `authorization` option as per PR comment
2020-04-03 13:12:28 -07:00
Thomas Allmer fb647dc611 fix(chai-dom): add missing visible assertion (#43584) 2020-04-03 10:27:58 -07:00
Sagar JainandSagar Jain 28ac63301b feat: updated passport-instagram type definitions after reading it's source documentation more carefully (#43595)
* feat: added passport-instagram type definitions

* feat: added passport-instagram type definitions

* feat: added passport-instagram type definitions

* fix: resolved PR review comment - changed  to

* fix: removed most of the unnecessary tslint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

* feat: updated passport-instagram type definitions after reading docs more carefully

* feat: updated passport-instagram type definitions after reading docs more carefully

Co-authored-by: Sagar Jain <sagar@zitto.com>
2020-04-03 10:24:46 -07:00
Jonathan Haines de687655a6 Ember Data Adapter: export default AdapterError (#43563)
* Ember Data Adapter: export default AdapterError

The current types use a named export

```
import { AdapterError } from '@ember-data/adapter/error';
```

compared to what is documented

```
// documented
import AdapterError from '@ember-data/adapter/error';
```

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [ ] Add or edit tests to reflect the change. (Run with `npm test`.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: <https://github.com/emberjs/data/blob/279e55c1f656a2018e72e280ed7cce8a8bb45d66/packages/adapter/addon/error.js#L98>

* Update error.ts
2020-04-03 10:19:35 -07:00
jthornca 8e264ca252 Update react-tagsinput Type Mappings to use Generics instead of <any>… (#43586)
* Update react-tagsinput Type Mappings to use Generics instead of <any> for tag types.

* Update react-tagsinput Generic Support to better handle backward compatibility. Added support to `keyof` Generic type for tagDisplayProp.
2020-04-03 10:15:43 -07:00
TypeScript BotandTypeScript Bot ca88c61edc Update CODEOWNERS (#43610)
Co-authored-by: TypeScript Bot <types@microsoft.com>
2020-04-03 09:33:48 -07:00
Elizabeth Samuel cd4a4e2db4 [office-js] [office-js-preview] (Outlook) Fix EnhancedLocation method params (#43593) 2020-04-02 15:59:52 -07:00
Jacob EasleyandJacob Easley 28d8d42967 Remove AtLeastOneKey constraint (#43590)
Co-authored-by: Jacob Easley <jeasley@verisk.com>
2020-04-02 14:15:14 -07:00
zhangciwu 8409a77939 [video.js] Add Player.MediaObject, loadMedia, getMedia (#43570) 2020-04-02 12:52:05 -07:00
Sagar JainandSagar Jain 1825338f43 feat: added passport-instagram type definitions (#43510)
* feat: added passport-instagram type definitions

* feat: added passport-instagram type definitions

* feat: added passport-instagram type definitions

* fix: resolved PR review comment - changed  to

* fix: removed most of the unnecessary tslint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

* fix: broken build errors fixed due to lint rules

Co-authored-by: Sagar Jain <sagar@zitto.com>
2020-04-02 11:09:52 -07:00
Yashar MoradiandYashar Moradi 29901d8879 Ghost content api ghostdata fix (#43417)
* ReadFunction requres either id or slug in data.

* Added name to the authors

* Changed data arg to an either or id/slug option

Co-authored-by: Yashar Moradi <yashar.moradi@scoperty.de>
2020-04-02 11:08:34 -07:00
Jacopo Notarstefano f49c947989 Fix capitalization of playsInline video prop (#43580) 2020-04-02 11:05:35 -07:00
Kyle Sferrazza 9ec90931fe [CodeMirror] add normalizeKeyMap function (#43473)
* [CodeMirror] add normalizeKeyMap function

* [CodeMirror] add contributor
2020-04-02 10:34:00 -07:00
phiresky e71e64cdaa better geoip-lite lookup type (#43575) 2020-04-02 10:32:13 -07:00
Jason Maurer 02a61894ce Add props type for styled-system__should-forward-prop (#43439) 2020-04-02 10:30:55 -07:00
Maxime Guerreiro c9a874d204 LZString.decompress* returns null for invalid inputs (#43585) 2020-04-02 10:29:05 -07:00
Mark Wiemer afa55fd87e Add MathNode.content optional property (#43435)
This is used by ParenthesisNode
2020-04-02 10:22:02 -07:00
Andre WachsmuthandAndre Wachsmuth 170c6b25ea [raphael] Fix typings and update for 2.3 (#43305)
* [raphael] Update and fix typings for Raphael 2.3

* Updated typings for Raphael 2.3
* Replaced Function, object and any with more specific types where possible.
* Merged function overloads where possible.
* Added documentation to all types and methods, based on the [official documentation](https://dmitrybaranovskiy.github.io/raphael/reference.html).
* Added tests for the entire [documented API](https://dmitrybaranovskiy.github.io/raphael/reference.html).
    * There are a few places where the official documentation is obviously wrong, these parts have been modified accordingly.
* Removed all custom tslint-rules from tslint.json and fixed all linting errors.

* [raphael] Fix @link reference: RaphaelElement.image->RaphaelPaper.image

Co-authored-by: Andre Wachsmuth <awa@xima.de>
2020-04-02 10:20:45 -07:00
Piotr Błażejewicz (Peter Blazejewicz) c843c09647 feat(html-differ): new type definition v3.0 (#43562)
- type definitions
- tests

https://github.com/markedjs/html-differ

Thanks!
2020-04-02 10:19:01 -07:00
serinuntius dd78808c1e Add node-apple-receipt-verify (#43571)
* added the node-apple-receipt-verify types

* added the config files

* added test

* fixed some definition

* fixed to enum

* added options
2020-04-02 10:17:32 -07:00
ExE BossandKagami Sascha Rosylight ab4ea1e0b6 feat(webidl2): Update to v23.11 (#43572)
* feat(webidl2): Update to v23.11

* fix(webidl2): Address review comments

Co-Authored-By: Kagami Sascha Rosylight <saschanaz@outlook.com>

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2020-04-02 10:10:39 -07:00
Simon cc47107ec6 [signale] Add missing properties (#43547)
* [signale] Fix typings

* [signale] fix lint error
2020-04-02 10:09:24 -07:00
Piotr Błażejewicz (Peter Blazejewicz)andExE Boss 745a74685e update(ejs): beautify option from 3.0.2 (#43469)
* update(ejs): `beatufiy` option from 3.0.2

- add missing property with doc comment
- tests updated

https://github.com/mde/ejs/compare/v3.0.1...v3.0.2
https://github.com/mde/ejs#options

Thanks!

* Update types/ejs/index.d.ts

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Update types/ejs/test/ejs.umd.test.ts

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Update types/ejs/test/ejs.cjs.test.ts

Follow PR comment, thx to @Exe-Boss

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2020-04-02 10:06:56 -07:00
Aaron Beall bf0c915f35 Add params and location query type args to withRouter (#43566)
* Added missing $filter overload

Added missing $filter overload that allows multiple strings to translate and returns an object

* Added Q query type arg passed to Location

* Fix test

* Formatting

* Added param/query type args to withRouter

* Min TS version 3.5 for Omit type

* lint fix
2020-04-02 09:52:22 -07:00
Regev Brody 3cc8ab01ae [jest] add mock.getMockImplementation type (#43531) 2020-04-02 09:49:39 -07:00
Steven Conaway a0d3435f3c Remove types for react-native-responsive-dimensions (#43564) 2020-04-02 09:48:13 -07:00
Sosuke Suzuki 52100395d0 [prettier] Update to v2 (#43576)
* Remove babylon parser

* Remove postcss

* Add babel-ts parser

* Fix options

* Remove version parameter from getSupportInfo

* Fix util function types

* Fix version

* Fix tests

* Run prettier
2020-04-02 09:47:41 -07:00
ExE BossandSimon Schick 445f92ce91 feat(node): Update to v13.11 (#43579)
Co-Authored-By: Simon Schick <demwizzy@gmail.com>

Co-authored-by: Simon Schick <demwizzy@gmail.com>
2020-04-02 09:47:07 -07:00
Nathan Shively-Sanders 6a273ee3da Fix react-rte tests (#43588)
They check whether a method is defined on props, but the props type
doesn't make the method optional. Typescript now catches this error, so
I made the method optional.
2020-04-02 09:20:55 -07:00
Vincenzo Chianese 46cb9e4438 Update index.d.ts (#43561) 2020-04-01 15:42:26 -07:00
Daniel Perez Alvarez 4fb709457d feat(table): update type definitions for v5.0 (#43425) 2020-04-01 14:28:27 -07:00
Nathan Shively-Sanders ef139d18d3 Add @sinonjs/fake-timers redirect to @testing-library/cypress (#43555)
* Add @sinonjs/fake-timers redirect to @testing-library/cypress

@testing-library/cypress depends indirectly on @sinonjs/fake-timers
(cypress -> sinon -> @sinonjs/fake-timers). However, it doesn't have a
redirect @sinonjs/fake-timers -> sinonjs__fake-timers. This causes
lookup to fail.

I'm not sure what caused this problem. I think it was a change in
cypress, which recently shipped a new version, but I'm not sure.

* Update testing-library__dom to require TS 3.1

pretty-format from jest requires at least 3.1. Not sure why this didn't
break before.

* update cypress to 3.1 too

* update other dependencies
2020-04-01 14:26:03 -07:00
Skyler Kehren a409077cca Updated types for 2020-03-24 game update (#43560)
- Fixed `StructureSpawn.renewCreep()` documentation
- Added missing `PWR_OPERATE_FACTORY` constant
- Changed `BodyPartConstant` to allow inferred Boost type from part type
- Added `ConcreteStructure<T>` type
- Change `owner` to allow undefined on `StructureController`
- Various updates from 2020-03-24 game update
  - Added `Game.map.getRoomStauts(roomName)`
  - Added `RoomStatus` type, a discriminated union on `status` of `RoomStatusTemporary` and `RoomStatusPermanent`.
  - Added `StructureLab.reverseReaction(lab1,lab2)`
  - Changed `room.name` to be readonly
  - Changed typing of `StoreBase.getFreeCapacity()` to return `null` for invalid resources types on limited stores.
  - Changed documentation of `store` functions
  - Deprecated `Game.map.isRoomAvailable()`, see `Game.map.getRoomStatus()`
2020-04-01 14:25:34 -07:00
Nathan Andersonandn8 004c92f2dc Added types for parse-full-name (#43502)
* added the parse-full-name types

* updated module to not have exported functions and types

* exported the guts of the types as opposed to a single module

* fixed some tests and added a comment for only supporting typescript 3.0

* whoops had a ' that shouldn't have been there

Co-authored-by: n8 <n8@dwell.management>
2020-04-01 13:06:07 -07:00
DerZersaeger bf28fce907 Added react-native-datawedge-intents (#43516)
* [react-native-datawedge-intents] Initial commit

* Fix lint errors

* Apply suggestions from @uniqueiniquity
2020-04-01 13:03:36 -07:00
Francesco Belvedere 6b97870ab9 [webtorrent] add missing property "progress" on TorrentFile (#43460)
* Add missing property "progress" on TorrentFile

* Remove trailing space
2020-04-01 12:58:50 -07:00
Daniel Gil 3b2373049e Add types for react-audio-player (#43452)
* Add index.d.ts

* Add Definition comments

* Add tsconfig

* Add tslint

* Add some tests

* whitespace

* Remove default value types

* Use default type parameter

* Add public methods

* Use !

* Export default
2020-04-01 12:57:56 -07:00
Tomasz Pluskiewicz 50adf1a1e9 clownface: fix addIn/addOut & in/out signatures (#43557)
* fix(clownface): addIn/addOut should accept multi-context clownface

* fix(clownface): the result of in/out should be SafeClownface
2020-04-01 12:46:47 -07:00
Joe Flateau 8b4734fb5a video.js: ensure example class-based plugin works (#43558)
* ensure example class-based plugin works

* additional test to be sure Plugin has player property
2020-04-01 12:46:22 -07:00
Pelle Johnsen 93d70f87d5 Add jest-cucumber-fusion (#43487)
* Add jest-cucumber-fusion

* Add 'declare module'

* Add support for Gherkin tables

* Fix failing tests for jest-cucumber-fusion

- Set minimum ts version

- Fix linting errors
2020-04-01 12:45:48 -07:00
ExE Boss bcdbb10669 feat: Add cssom (#43549) 2020-04-01 11:41:23 -07:00
Aaron Beall f02366f78d Add location type arg for query params to route definition v3 (#43550)
* Added missing $filter overload

Added missing $filter overload that allows multiple strings to translate and returns an object

* Added Q query type arg passed to Location

* Fix test

* Formatting
2020-04-01 11:39:17 -07:00
Rong Shen 8a840a2003 feat: add definition for looper (#43551) 2020-04-01 11:38:48 -07:00