Commit Graph
67961 Commits
Author SHA1 Message Date
Jack Bates d606041521 [swiper] Enable noImplicitThis (#42952) 2020-03-22 14:26:44 -07:00
Jack Bates 22284c8ddd [webmidi] Enable noImplicitThis (#42954) 2020-03-22 14:25:01 -07:00
Jack Bates 8a8bfac7ae [space-pen] Enable noImplicitThis (#42951) 2020-03-22 14:24:44 -07:00
Duy Thanh Nguyen 7e478f62e7 [ramda] rename then to andThen for 0.27 (#43071) 2020-03-22 14:24:06 -07:00
Jack Bates 8164185efc [meteor-roles] Enable noImplicitThis (#42923) 2020-03-22 14:23:10 -07:00
Jack Bates ba5c328059 [meteor] Enable noImplicitThis (#42924) 2020-03-22 14:22:50 -07:00
Jack Bates a3bd5ad5da [multiplexjs] Enable noImplicitThis (#42925) 2020-03-22 14:22:35 -07:00
Jack Bates 689a6abc28 [nedb] Enable noImplicitThis (#42927) 2020-03-22 14:22:11 -07:00
schl3ck 7a9ef27104 [scriptable-ios] Added types for iOS app 'Scriptable' (#43034) 2020-03-22 14:12:19 -07:00
Junxiao Shi 0fbd4beb75 ndjson: initial definition (#43073) 2020-03-22 14:09:23 -07:00
Abhijith Vijayan 043b939aa2 fix #43255: add new fields to @types/keystonejs__adapter-knex for adapter-knex v6.3 (#43256)
* fix #43255: add dropDatabase field to keystonejs__adapter-knex options

* fix: restore dependent typescript version 3.5

* fix: lint errors
2020-03-22 14:08:12 -07:00
Kevin Brownandjonathan-cowling 914615c9ee Add introspection option to @keystone/app-graphql (#43284)
Co-authored-by: jonathan-cowling <cowlingj@users.noreply.github.com>
2020-03-22 14:04:05 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 509981137d feat(luxon): update to 1.22 (#43247)
- missing DateTime factory method
- tests updated
- maintainer added

https://moment.github.io/luxon/docs/class/src/datetime.js~DateTime.html#static-method-invalid
https://github.com/moment/luxon/blob/master/src/datetime.js#L857-L869

Thanks!
2020-03-22 13:56:47 -07:00
Kevin Simper 252d080626 Allow session to be null (#43240)
According to the docs, destroying the session can be done by setting req.session = null

https://github.com/expressjs/cookie-session#destroying-a-session
2020-03-22 13:55:54 -07:00
6ad27673b7 @types/shelljs Fix documentation (#43245)
* @types/shelljs Fix documentation

https://github.com/shelljs/shelljs/blob/a8452b89f2b9dd372da81e973a16074a5628b0b6/src/common.js#L26

* Update types/shelljs/index.d.ts

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

Co-authored-by: Orta <orta.therox+github@gmail.com>
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2020-03-22 13:55:04 -07:00
Anton Banchev d3440e39f9 stroke has two methods, parameter is optional (#43260)
fixes an issue mentioned here
https://github.com/iddan/react-native-canvas/issues/164
2020-03-22 13:54:17 -07:00
Hikiko fc61649f49 [element-closest] add types (#43264) 2020-03-22 13:53:02 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 26e018e9e2 feat(prettier): add information about defaults (#43276)
* feat(prettier): add information about defaults

For most commonly used options:
https://prettier.io/docs/en/options.html

Thanks!

* Add missing defaults as per PR comment:

- `proseWrap`
- `useTabs`

Thanks!
2020-03-22 13:50:57 -07:00
David Baumgold b8a3c1dd68 React Map GL: update props for LinearInterpolator (#43313) 2020-03-22 13:48:56 -07:00
Tomasz Pluskiewicz cf0edd580e fix(rdf-fetch): options are optional (#43294)
* feix(rdf-fetch): options are optional

* options are also optional
2020-03-22 13:48:21 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 0e3a2e2cf8 feat(pngjs): update 'this' scope binding in events (#43299)
- modify core events defintiioin to handle 'this' scope
- test updated for non-arrow syntax usage with events scoped to PNG

https://github.com/lukeapage/pngjs#async-api

Thanks!
2020-03-22 13:47:38 -07:00
Christian Tellnes 65988eac2a Improve types for Primus (#43297) 2020-03-22 13:46:30 -07:00
asyed94 628419fc4f Adds crypto_sign_*, crypto_auth_*, and crypto_scalarmult_* constants (#43274)
These constants are documented here:
https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures#constants
https://libsodium.gitbook.io/doc/secret-key_cryptography/secret-key_authentication#constants
https://libsodium.gitbook.io/doc/advanced/scalar_multiplication#constants
2020-03-22 13:45:05 -07:00
Tomasz Pluskiewicz eb97afe7a5 fix: using addIn/addOut methods should return single context (#43295) 2020-03-22 13:43:59 -07:00
Eric Liu 5ea99d7103 feat(types): upgrade carbon__icons-react to 10.9.2 (#43298)
* feat(types): upgrade carbon__icons-react types to 10.9.2

* fix(types): remove patch versions in carbon__icons-react
2020-03-22 13:42:52 -07:00
Abraham WilliamsandSebastian Silbermann 8dd4869771 [@testing-library/dom] update to v7 (#43102)
Update types/testing-library__dom/wait-for-element-to-be-removed.d.ts

Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>

Update pretty-format
2020-03-22 13:44:46 -04:00
Eric Liu be2d773f49 feat(types): upgrade carbon__pictograms-react types to 10.9.1 (#43306) 2020-03-22 09:39:26 -04:00
ZaneHannanAUandZane Hannan 4ca6e984c0 Remove myself from notifications (#43309)
This commit removes myself from being notified of changes, as I am no
longer a noteworthy contributor to this project.

I thank you for your time, and am likely to join you again in the
future.

-- Zane.

Co-authored-by: Zane Hannan <ZaneHannanAU@gmail.com>
2020-03-22 09:02:12 -04:00
Hikiko ee646ad6a1 [final-form-set-field-touched] add types (#43261) 2020-03-20 23:08:43 -07:00
Elizabeth Samuel 6c625a1f0e [office-js-preview] (Outlook) Clean up preview tags (#43277) 2020-03-20 14:47:47 -07:00
Rick-Kirkham a3903ecc90 office-js-preview add DialogParentMessageReceivedEventArgs (#43271)
* add DialogParentMessageReceivedEventArgs

* review changes

* review changes
2020-03-20 13:46:32 -07:00
Nathan Shively-Sanders a94ee28b62 d3-selection: Disable tslint error on TS 3.9 (#43269)
DOM updates in 3.9 mean that Typescript now knows that
`HTMLBodyElement.ownerDocument` can't actually be null. Previously, a
non-null assertion was needed.

Because the tests have to compile on 3.9 AND older versions, I just
disabled the rule.
2020-03-20 11:53:58 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 551f768a3f update(rimraf): update to version 3.0 (#43188)
- v2 created
- removed BUSYTRIES_MAX and EMFILE_MAX
- other minor changes

https://github.com/isaacs/rimraf/blob/master/rimraf.js

Thanks!
2020-03-20 14:02:50 -04:00
Piotr Błażejewicz (Peter Blazejewicz) d3c19af135 feat(find-exec): new definition file (#43186)
- definition file for v1.0
- tests

https://github.com/shime/find-exec#find-exec

Thanks!
2020-03-20 14:01:29 -04:00
Piotr Błażejewicz (Peter Blazejewicz) 2d3a320fd5 feat(exit): update definition with option parameter (#43099)
- `streams` optional parameter
- minor updates

https://github.com/cowboy/node-exit#exit-

Thanks!
2020-03-20 13:58:20 -04:00
Spencerandspalger a99eed1745 [estree] update with latest spec changes (#43103)
* [estree] support async for-of

See https://github.com/estree/estree/blob/master/es2018.md#statements

* [estree] support spread properties

See https://github.com/estree/estree/blob/master/es2018.md#expressions

* [estree] support rest property patterns

See https://github.com/estree/estree/blob/master/es2018.md#patterns

* [estree] add support for ImportExpression

See https://github.com/estree/estree/blob/master/es2020.md#importexpression

* [es2020] add support for BigInt literals

See https://github.com/estree/estree/blob/master/es2020.md#bigintliteral

* Revert "[es2020] add support for BigInt literals"

This reverts commit 47134accb91cf73307d434f57acf97bc0328f39e. Supporting bigint would require TS 3.2 which requires dependency changes that can probably wait? 🤷‍♂️

* [estree] add new expression type to Union

* narrow express node by ImportExpression

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-20 13:57:41 -04:00
Karol Maciaszek 541905dc80 postman-collection: urldef.path and url.path made optional (#42833) 2020-03-20 13:56:25 -04:00
Eloy Durán 67fdf14c90 [react] Port ElementRef utility type from Flow (#43201)
* [react] Port ElementRef utility type from Flow

https://flow.org/en/docs/react/types/#toc-react-elementref

* [react] Use least amount of required typing

* [react] Support forwarded refs with ElementRef

* [react] Use correct function component return type

* [react] Add ElementRef test for memoized ref forwarding component

* [react] Add ElementRef test for lazy component

* [react] Match function components with props

* [react] Fix test-case by moving type around

* [react] Fix flaky test-case

* [recharts] Remove deprecated CSS properties

These have been removed from `lib.dom.d.ts`:
https://github.com/microsoft/TypeScript/pull/37464/files#r395692943
2020-03-20 13:44:04 -04:00
Sleeyax 1b0bb5a241 [stremio-addon-sdk] Add types for stremio-addon-sdk (#43190)
* [stremio-addon-sdk] Add types for stremio-addon-sdk

* [stremio-addon-sdk] use global reference package

* [stremio-addon-sdk] disable no-self-import rule

* [stremio-addon-sdk] disable no-redundant-jsdoc-2 rule
2020-03-20 12:06:56 -04:00
Michaël De Boey 404b0cb92a [ot] Add ot types (#43211) 2020-03-20 12:04:00 -04:00
Piotr Błażejewicz (Peter Blazejewicz) 851156006a feat(merge-img): new type definition v2.1 (#43124)
- definition type file
- tests

Used in BacktopJS tool:
https://github.com/preco21/merge-img#readme

Depends on:
microsoft/types-publisher#754

Thanks!
2020-03-20 12:03:07 -04:00
Piotr Błażejewicz (Peter Blazejewicz) 12712d99e6 feat(@open-wc/testing-karma-bs): new type definition (#43216)
- type definition
- tests

https://github.com/open-wc/open-wc/tree/master/packages/testing-karma-bs

Thanks!
2020-03-20 11:56:30 -04:00
Dave Brudner 6a4b60bef8 Component emitter event (#43125)
* component-emitter: adding Event generic

* component-emitter: adding tests for Event generic
2020-03-20 11:55:48 -04:00
Lars Klein 490cf94683 adding declarations for wink-pos-tagger (#43229)
* adding missing addRegex method to type definitions

* formatting

* formatting

* removing trailing whitespace

* adding definitions for wink-pos-tagger

* adding author information

* const instead of var in tests

* removing trailing whitespace

* formatting

* formatting
2020-03-20 11:54:12 -04:00
Arvin Singla 876117fb54 [pino-http] Adding autoLoggingOptions introduced in pino-http 4.4.0 (#43137)
* Adding autoLoggingOptions as optional type for autoLogging config.

* Updating version number to 4.4 to match current release of pino-http
2020-03-20 11:53:11 -04:00
Piotr Błażejewicz (Peter Blazejewicz) fdea88dc12 feat(offscreen-canvas): new type definitiion (#43246)
- definition files
- tests

https://github.com/ai/offscreen-canvas

Thanks!
2020-03-20 11:52:06 -04:00
Vladyslav Kochetkov 3c7ab7eb39 React-Native-WebRTC update getUserMedia (#43146)
When I was developing I noticed the getUserMedia was returning a promise and this was not documented in ts.

Please fill in this template.

[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.
[x] Avoid common mistakes.
[ ] Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If changing an existing definition:
 [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <>
 [ ] If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.
 [ ] If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed.
2020-03-20 11:51:38 -04:00
David Recuenco 565c410e2d update ldapjs EqualityFilter to allow Buffer values (#43150) 2020-03-20 11:51:08 -04:00
Radosław Miernik 72cbb29562 Improved meteor/mongo typings. (#42998)
* Improved meteor/mongo typings.

* Reverted changes from meteor/globals.
2020-03-20 11:49:10 -04:00
Nicholas Zacca 8165882633 [Simplebar] Allow typings to work with strictNullChecks enabled (#43123) 2020-03-20 11:48:47 -04:00