Commit Graph
68300 Commits
Author SHA1 Message Date
Yi Wang b73e6201a3 Fix the type of lines of lyric-parser (#43671)
* Fix the type of lines

The inner type should be js.Array[AnonLineNum] instead of js.Array[String]

* Update index.d.ts

* Update index.d.ts
2020-04-06 11:09:30 -07:00
Tomasz Pluskiewicz 92589048c2 refacor: use interface merging to simplify class declarations (#43604) 2020-04-06 11:08:40 -07:00
Juanjo Diaz 09cb43a7d2 Add definitions for json2csv v5.0 (#43663) 2020-04-06 10:57:43 -07:00
Ed Parsons 27b79116ea Update index.d.ts (#43635)
Adding rawErrors to the individual widget so errors can be rendered inside the widget
2020-04-06 10:23:14 -07:00
Ryan Oglesby 6fc48129ce add font style props to text and heading (#43524) 2020-04-06 10:22:28 -07:00
Michaël De Boey 0fb45469f8 [ot] Update ot types (#43638) 2020-04-06 10:14:55 -07:00
schl3ck e1a8bf4f82 [scriptable-ios] Updated typings to 1.4 (#43662) 2020-04-06 10:06:12 -07:00
Adam Montgomery 2c4b757fe2 [twilio-video] fix support for VP8 simulcast (#43677) 2020-04-06 10:01:59 -07:00
Tomasz Pluskiewicz 122c53f9eb fix(sparql-http-client): the endpointUrl is optional (#43675) 2020-04-06 09:46:42 -07:00
Alexej Yaroshevich 7c71949f51 feat: add typings for git-diff-parser module (#43599) 2020-04-06 09:46:11 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 9a2f620ce7 feat(tsc-watch): new type definition v4.2 (#43592)
- definition files
- tests

https://github.com/gilamran/tsc-watch

Thanks!
2020-04-06 09:45:04 -07:00
Viacheslav Borodulin 6908f6ea06 Add can-autoplay types (#43622)
* add can-autoplay types

* fix tsconfig.json

* code review changes
2020-04-06 09:44:03 -07:00
Wlad Meixner dec598b7cf [react-bootstrap-table-next] Add typing for react-bootstrap-table-next (#43155)
* react-bootstrap-table-next: add initial typings

* [name react-bootstrap-table2] add modules

* [react-bootstrap-table-next] add filter example

* [react-bootstrap-table2-filter] add filter example

* [react-bootstrap-table-next] update types

- loosen table typing after testing with real life projects
- remove enums in favour of constant declarations and aggregation types

* [react-bootstrap-table-next] fix cell align type

* [react-bootstrap-table-next] update tests

* [react-bootstrap-table2-toolkit] narrow types

* [react-bootstrap-table-next] fix test column

* [react-bootstrap-table2-filter] update comments

* [react-bootstrap-table-next] fix documentation

* [react-bootstrap-table2-filter] fix typo in header

* [react-bootstrap-table-next] fix issues

* [react-bootstrap-table-next] add definitions

- expand toolkit definitions
- add standalone pagination component types

* [react-bootstrap-table-next] loosen column type

* update typescript version

* fix: typescript version mixup

* fix: remove optional chaining, change TS version
2020-04-06 09:42:41 -07:00
fengbingziandyanzhanghu da93d7b130 Feature/add typings for feflow cli (#43565)
* feat: Add typings for feflow

* feat: update comment

* feat: fix new line warn

* fix: package name error

* fix: package name  error

* feat: change test name

* fix: fix lint error

* fix: blank error for  lint

* feat: support npm path

* feat: change namespace and tests

Co-authored-by: yanzhanghu <yanzhanghu@tencent.com>
2020-04-03 17:18:07 -07:00
Igor Oleinikov ceb9e7338e [react-query] Few improvements (#43568)
* [react-query] Few improvements
- allow single string key in object syntax
- reorder overloads to fix intellisense

* Addressing PR feedback
2020-04-03 17:16:22 -07:00
Eyas 13ff340e33 Reflect correct type of @reach/router Link: (#43556)
Link.props.ref is actually a React.Ref<HTMLAnchorElement>. Link is
defined in terms of react's forwardRef() function, which returns a
ForwardRefExoticComponent. @reach/router actually forwards an
HTMLAnchorElement.

Without this fix, Link is a component, and "ref" is assumed to be a
React.Ref<Link>. But Link actually forwards "ref" to an <a> element
it returns.
2020-04-03 17:05:22 -07:00
ExE Boss 16d1f63777 feat: Add cssstyle (#43607) 2020-04-03 17:04:50 -07:00
David Hearnden e90ac91923 rsocket - adds Single.never() (#43603) 2020-04-03 17:01:22 -07:00
Bond 378e67bfe3 Make message field optional (#43532) 2020-04-03 16:58:24 -07:00
ExE Boss 534e730f06 feat: Add html‑encoding‑sniffer (#43611) 2020-04-03 16:54:48 -07:00
ExE Boss 811bdb6362 feat: Add webidl2js (#43606) 2020-04-03 16:54:17 -07:00
Andrea Ascari 3e31321ffc feat: added node-pdftk definitions (#43602) 2020-04-03 16:12:00 -07:00
Grégoire Lodi d72ac9bab6 Added pdf-fill-form's types (#43608) 2020-04-03 16:10:45 -07:00
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