Commit Graph

69511 Commits

Author SHA1 Message Date
Orta
44af094af2
Adds a danger rule for when you keep the username from the template (#45364) 2020-06-08 15:29:10 -04:00
Naor Torgeman
d8867550b6
created typings for react-portal-tooltip (#45221)
* bootstrap

* react-tooltip-portal

* linter fixes

* Update types/react-portal-tooltip/index.d.ts

Co-authored-by: Orta <orta.therox+github@gmail.com>
2020-06-08 15:24:04 -04:00
Jannik Portz
7895fb30b3
🤖 Merge PR #45223 Add Types for quicksettings by @janizde
* copy files with types and tests

* run prettier over definitions and tests

* add meta data

* remove path from typings meta data
2020-06-08 11:58:53 -07:00
Piotr Kuczynski
6e29c704df
🤖 Merge PR #45060 Fix polka-express compatibility types by @pkuczynski
* Add more tests to polka

* Fix polka-express compatibility types

* Fix lint

* Fix lint
2020-06-08 11:48:06 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
689a2e444b
feat(psi): new type definition (#45225)
- definition file for PageSpeedInsights v.4
- tests

https://github.com/GoogleChromeLabs/psi
https://github.com/GoogleChromeLabs/psi#usage
https://developers.google.com/speed/docs/insights/v5/about

Thanks!

/cc @astronaute77

Closes #45210
2020-06-08 14:27:40 -04:00
hongyiweiwu
19fd6c2340
[cache-manager-ioredis] Fixed a bug that causes type resolution for the default export to fail. (#45224) 2020-06-08 14:27:13 -04:00
Fredrik Sandström
21e1162029
[@types/cytoscape] Added type definitions for Edge Endpoints (#45124)
* Fixed the Events style function for Nodes & Edges

* Minor fix for #44890

* Fixes DefinitelyTyped/DefinitelyTyped/#45090

* Why not?

* Added some default values to the Stylesheet test

* Pass linting - Look into refactor library after these rules later

* Remove Extended rules, Travis might pass now?

Co-authored-by: Fredrik Sandström <fredrik.sandstrom@tele2.com>
2020-06-08 14:26:12 -04:00
kaminskimateusz
983c4174fc
🤖 Merge PR #45362 [node] Added missing CORS headers to IncomingHttpHeaders by @kaminskimateusz
* added missing CORS headers to IncomingHttpHeaders

* removed trailing spaces

Co-authored-by: kaminskimateusz <Geq4qxmo>
2020-06-08 11:25:14 -07:00
Daniele "Carru" Carrucciu
600de938b2
🤖 Merge PR #45358 Fix React-Big-Calendar onRangeChange types by @catruzz
* Fix onRangeChange types from CalendarProps

* EventWrapper test minor fix

* EventWrapper test minor fix

* added undefined return type for View parameter
2020-06-08 09:55:42 -07:00
Bryan Hunter
36108a262d
🤖 Merge PR #45271 update AWS Serverless type by @bryan-hunter
* update type

* update test
2020-06-08 08:30:04 -07:00
Jamie Humphries
c977306a0a
🤖 Merge PR #45262 [chai-dom] Add tagName to Assertion interface. by @jamiehumphries 2020-06-08 06:01:16 -07:00
Hélder Veloso
335ee3f1e4
🤖 Merge PR #45184 [mongoose] Solve TypeError when setting different currentTime by @hrafaelveloso
* Solve TypeError when setting different currentTime

We can set `timestamps.currentTime` as seen on mongoose docs, however that type definition isn't available

* currentTime can be also a number

In mongoose docs currentTime is set to a function that return a number

* Update solving typing error

* Add tests to validate timestamps type
2020-06-08 03:16:12 -07:00
Vincent
f6b58d8d0b
🤖 Merge PR #45260 [rdf-js] Make RDF/JS's NamedNode generic by @Vinnl
* Make RDF/JS's NamedNode generic

This will allow people to use these typings to indicate paramters
whose NamedNodes need to have a specific value. All code that does
not explicitly indicate a generic parameter (i.e. all existing
code) should not be affected.

* Make DataFactory produce regular NamedNodes again

Making the namedNode() data factory generic would have been a
breaking change to type definitions of compatible DataFactory's,
because those might not have the same constraint on their
namedNode() DataFactory. The generic NamedNode is not important
enough to warrant such a breaking change, so I've backed it out.

* Add note about potential (breaking) improvement
2020-06-08 02:20:01 -07:00
ExE Boss
26a0020e5f
🤖 Merge PR #45337 fix(es‑abstract): Make Call type parameters match Reflect.apply by @ExE-Boss
* fix(es‑abstract): Make `Call` type parameters match `Reflect.apply`

* fixup!
2020-06-08 01:48:04 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
cf4cf8dd9e
🤖 Merge PR #45316 update(dotenv-webpack): minor version updates by @peterblazejewicz
- `allowEmptyValues` property added
- minor version bump
- maintainer addded

https://github.com/mrsteele/dotenv-webpack/releases/tag/v1.8.0

Thanks!
2020-06-06 23:12:20 -07:00
Luis Crespo
0edec4e226
🤖 Merge PR #45266 types/stylus: Fix the Stylus.UrlOptions interface by @luisincrespo
* Fix the Stylus.UrlOptions interface

The `Stylus.UrlOptions` interface is currently specifying that it has a `path: string` property.

This is not correct. The options available are `limit?: string` and `paths?: string[]`.
See here for more details: https://stylus-lang.com/docs/functions.url.html#options.

* Fix UrlFunction interface

The options for stylus.url() are optional.

* Update stylus tests

* Accept false | null for limit option in stylus.url

* Fix linter issue

Co-authored-by: Luis Crespo <luis.crespo@grammarly.com>
2020-06-06 11:17:21 -07:00
Topo Lino
4b51763cdd
🤖 Merge PR #45313 [@xstyled/system] Add alias "bg" and correct "StyleFunc" interface. by @opotonil
* Add alias "bg" to "backgroundColor".

* Correct the "StyleFunc" interface.

* Update the version number

* Fix version number in the header

* Support "fontStyle" typography

* Fix missing semicolon

* export fontStyle
2020-06-06 08:25:19 -07:00
Luke Edwards
0b5713f7a6
🤖 Merge PR #45322 fix(sade): option & parse-lazy types by @lukeed
* fix: option & parse-lazy types

* chore: add test cases

* fix: satisfy linter
2020-06-06 00:22:57 -07:00
Dylan Praul
028d2b87e6
add missing init options and callback response (#45074) 2020-06-05 16:21:51 -07:00
woutervh-
ef0eac72cb
Added possibility of to be (#45092) 2020-06-05 16:20:50 -07:00
Roaders
14fece1869
Fix returned promise generic types (#45089) 2020-06-05 16:20:13 -07:00
Shachar Itzhaky
c0fe88c328
[@types/mkdirp] Fixed type of opts argument to sync methods. (#45197) 2020-06-05 16:18:25 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
36e0cfd07a
feat(node-sass-tilde-importer): custom node-sass plugin (#45198)
- type definition
- tests

https://github.com/matthewdavidson/node-sass-tilde-importer
https://github.com/matthewdavidson/node-sass-tilde-importer#usage

Thanks!
2020-06-05 16:17:39 -07:00
Elizabeth Samuel
5f01b5f575
[office-js-preview] (Outlook) Fix links with broken anchors (#45314) 2020-06-05 12:17:22 -07:00
Jay Anslow
b231833da8
🤖 Merge PR #45311 Update lightship types to 6.1 by @janslow 2020-06-05 10:13:01 -07:00
David Suckstorff
bbe9e4c6f9
🤖 Merge PR #45296 [@types/braintree] Correct PlanGateway#all return type and Subscripti… by @davsucks 2020-06-05 09:39:00 -07:00
Ligia Frangello
0ae951f890
🤖 Merge PR #45292 [@types/node-forge] - change return type of publicKeyFromPem() and privateKeyFromPem() by @Frangello
* update PublicKey to rsa.PublicKey

* remove cert definitions
2020-06-05 09:30:52 -07:00
Martin Harkins
2257d057f8
🤖 Merge PR #45307 fix: hls.js media type should be HTMLMediaElement by @MartinHarkins
* hls.js change media type to HTMLMediaElement

hls.js works with both HTMLVideoElement and HTMLAudioElement. Type def was not inclusive enough.
Set to HTMLMediaElement to match definitions in the base project.

* update target library version to 0.13

Note: the typings were already incorrect for 0.12.

* fix event cb param type for media attaching event

* add dtslint tests for hls.attachMedia et rel.
2020-06-05 08:17:50 -07:00
ennmichael
58cd2a2af7
Added types for StreamSaver.js (#45200)
* Added types for StreamSaver.js

* Added stuff that was changed, but forgot to commit
2020-06-04 17:03:55 -07:00
Guy Gascoigne-Piggford
cf2936d4bc
react-table: fix type of nested headers (#45199)
headers should be defined as a HeaderGroup rather than a ColumnInstance,
this looks like an oversight rather than any particular change in
behavior.

Addresses
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/45113
2020-06-04 16:57:21 -07:00
Andrew McNutt
403de52d9b
Add types for react-vis (#45202)
* add rudimentary react-vis types

* work on linting the types

* fix config issue

* wip

* put types in a module

* wip

* add missing items
2020-06-04 16:57:01 -07:00
baremaximum
3abbf3159f
Created types for json-schema-faker npm library (#45189)
* Created types for json-schema-faker npm library

* fixed some errors.

* json-schema-faker removed redundant keywords and added export =

* json-schema-faker changed export format

* Fixed module call arguments

* removed unnecessary reference

* Update types/json-schema-faker/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/json-schema-faker/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/json-schema-faker/tsconfig.json

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/json-schema-faker/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Fixed imports in test.

* Removed unused interface from tests

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2020-06-04 16:50:29 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
ccb0081a24
update(jsdoc-to-markdown): version 6 bump (#45194)
This just updates the major version number as adviced by release notes,
though there is no changes to external api shape:
https://github.com/jsdoc2md/jsdoc-to-markdown/releases/tag/v6.0.0

Thanks!
2020-06-04 16:35:28 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
ad85bebc6e
fix(glob): correct return type to mach Glob interface (#45193)
This changes detail of lesser known usage of the module.
As pointed in #45192 the function usage should return fully initialized
instance of the glob:
https://git.io/Jf6WM

/cc @Shinigami92

Thanks!

Fixes #45192
2020-06-04 16:32:41 -07:00
ExE Boss
30b8267129
feat(es‑abstract): Use script to generate GetIntrinsics (#45117)
* fix(es‑abstract): Fix `GetIntrinsic`

* feat(es‑abstract): Generate remaining intrinsics

* fix(es‑abstract/GetIntrinsic): Keep fallback to `unknown`

* fix(es‑abstract/GetIntrinsic): Address review comments

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* fix(es‑abstract/GetIntrinsic): Correct %AsyncFromSyncIteratorPrototype%

Co-authored-by: Jordan Harband <ljharb@gmail.com>
2020-06-04 16:31:40 -07:00
omjadas
e569cb8cfa
add type definitions for @giusto/ink-router (#45164)
* chore: add type definitions for @giusto/ink-router

* chore: update project link
2020-06-04 16:28:20 -07:00
Andrew Lavers
000aff96e0
Add map types back to hmset and mset (#45079) 2020-06-04 16:26:49 -07:00
Daniel Pedersen
2d5a737e9a
fix callbacks, errors might be null (#45064)
- add signatures for more overloads, including maps of outputFormat
2020-06-04 16:23:11 -07:00
Gabriel Cangussu
ebb3d86cb3
🤖 Merge PR #45288 Update @typeform/embed to v0.20 by @gcangussu 2020-06-04 12:34:33 -07:00
Andrei Alecu
88a54a9394
[@types/mongoose]: strong typed model.create()/new () (#44619)
* feat(mongoose): strong typed .create()

* add test for mongoose-delete

* omit readonly properties
2020-06-04 11:33:59 -07:00
Elizabeth Samuel
c7305f402c
[office-js] [office-js-preview] (saveAsync) Remove OWA note (#45291) 2020-06-04 10:13:38 -07:00
Chen Asraf
f718963ff3
[types/react-tracking] Fix TrackingInfo async repsonse (#45280)
* [types/react-tracking] Fix TrackingInfo async repsonse

In https://github.com/nytimes/react-tracking#advanced-usage, it is specified:

> When tracking asynchronous methods, you can also receive the resolved or rejected data from the returned promise in the fourth argument of the function passed in for tracking:
> ```js
>   @track((props, state, methodArgs, [{ value }, err]) => {
>   // ...
>   })
> ```

This fixes the type to allow that.

* [types/react-tracking] added tests

# Conflicts:
#	types/react-tracking/index.d.ts
2020-06-04 14:16:22 +02:00
Marko Kaznovac
cdd1ff9d70
🤖 Merge PR #45203 stripe-v3: add type for method stripe.retrieveSetupIntent by @kaznovac
https://stripe.com/docs/js/setup_intents/retrieve_setup_intent
2020-06-04 04:40:11 -07:00
Nick Gerleman
aa4ea25da6
Add Focusable View Prop (#45269)
This was added in 0.62 to the AndroidViewProps Flow type. Add to the TS interface as well. https://github.com/facebook/react-native/blob/0.62-stable/Libraries/Components/View/ViewPropTypes.js

There are some other new props where the right story is less defined.
2020-06-04 12:35:36 +02:00
ExE Boss
26be7c85ea
🤖 Merge PR #45231 feat(es‑abstract): Make ESAbstract.PropertyDescriptor generic by @ExE-Boss
* feat(es‑abstract): Make `ESAbstract.PropertyDescriptor` generic

* fixup! feat(es‑abstract): Make `ESAbstract.PropertyDescriptor` generic

* fix(es‑abstract): Address review comments

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* fix(es‑abstract): Workaround parser failure

* fix(es‑abstract/es5): Use `unknown` as default

Co-authored-by: Jordan Harband <ljharb@gmail.com>

Co-authored-by: Jordan Harband <ljharb@gmail.com>
2020-06-03 22:12:34 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
2d127e277e
fix(lusca): missing CSRF 'header' base property (#45046)
- `header` property added
- JSDoc comments added to the base options
- test amended
- maintainer added

0483eda77a/lib/csrf.js (L49)

/cc @shwao

Thanks!

Fixes #45040
2020-06-03 20:50:18 -07:00
Maxim Mazurok
7228e70224
automatic gapi.client.calendar update @ Sat, 30 May 2020 05:12:50 GMT (#45157) 2020-06-03 20:49:11 -07:00
Maxim Mazurok
f918a16d58
automatic gapi.client.discovery update @ Sat, 30 May 2020 05:14:14 GMT (#45169) 2020-06-03 20:48:08 -07:00
Maxim Mazurok
bd96e64a35
automatic gapi.client.drive update @ Tue, 02 Jun 2020 22:16:16 GMT (#45166) 2020-06-03 20:46:50 -07:00
omjadas
948304282e
add types for ink-divider (#45170)
* chore: add types for ink-divider

* chore: disable esModuleInterop
2020-06-03 20:46:16 -07:00