Commit Graph

67002 Commits

Author SHA1 Message Date
Matthew Peveler
4bc49b8a36 [@types/ignore-walk] Fix return type of walk and walk.sync (#39190) 2019-10-16 12:29:53 -07:00
Billy Kwok
5018a8e150 add types for babel-plugin-macros (#39151)
* add types for babel-plugin-macros

* rename babel-plugin-macros-test.ts to babel-plugin-macros-tests.ts

* add paths in tsconfig.json

* remove patch version from version string

* remove unnecessary generics

* fix import module name and minimum TypeScript version

* update minimum TypeScript version to 2.9
2019-10-16 11:44:50 -07:00
Daniel Santoro
a70a4e352f React interactive (#39068)
* Added type definitions for react-interactive

* fix lint errors

* change to address suggestions

* fix name conflict

* add new line to end of files
2019-10-16 11:30:26 -07:00
dmitriismitnov
5f756cbfc8 Add types for ajv-async package (#39140)
* Add types for ajv-async package

* Add ts version

* Upd dependency

* Fix: return Ajv instead of void
2019-10-16 11:28:52 -07:00
Marcel Jackwerth
70eb523a22 feat(koa): Move custom properties into DefaultContext (#39008)
* Move custom properties into DefaultContext

This allows having a strict `Koa<{}, {}>`.

* Fix tests
2019-10-16 11:08:12 -07:00
Ekaterina Prigara
282aa18841 Removed deprecation warning for React context (#39177) 2019-10-16 10:36:17 -07:00
Martin Feckie
9207eeb97f Add more permissive interface for RelationshipMeta options (#39114) 2019-10-16 10:34:27 -07:00
Oliver Joseph Ash
854c503093 react-autosuggest: restrict input props (#39186) 2019-10-16 10:32:54 -07:00
Matthew Peveler
f3623fc882 [@types/websocket] update definitions for 1.0.30 release (#38766)
* [@types/websocket] fix header argument for w3csocket constructor

* more fully type 1.0.30 release

* update file to match tslint style

* revert name change on interfaces

* Remove redundant parentheses
2019-10-16 10:25:32 -07:00
Kyle Scully
b868d68355 feat(react): add union type to inputMode (#39153) 2019-10-16 10:22:49 -07:00
Tom Picton
6b5fd57b9b Rebass: Add tx prop to BoxKnownProps (#39022)
* Rebass: Add tx prop to BoxKnownProps

* Only accept string for tx prop
2019-10-16 10:20:43 -07:00
Florian Reuschel
3f2a7796c0 fix(fs-extra) Fix falsely required parameters in write() function (#39179)
* Fix falsely required parameters in fs-extra.write()

* Add test for fixed fs-extra.write()
2019-10-16 10:19:23 -07:00
jindrichkuba
2972ad1544 Add missing propTypes DataKey for ScatterProps (#39171)
I need to add propTypes DataKey for ScatterProps
2019-10-16 10:18:26 -07:00
Benjamín Eidelman
7330cd3a68 allow additionalProperties: false (#39167)
From https://swagger.io/specification/#model-with-map-dictionary-properties-88

> additionalProperties - Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema. Consistent with JSON Schema, additionalProperties defaults to true.

`additionalProperties: false` especially is important as it's the only way to forbid extra properties.
2019-10-16 10:17:35 -07:00
David Velásquez
b30ce51827 Added missing emojioneList definition (#39155) 2019-10-16 10:16:40 -07:00
Theodore Brown
cde2fbca9b Lowercase js-cookie same site cookie values (#39143)
* Lowercase same site cookie values

This matches the documented usage at https://github.com/js-cookie/js-cookie/#samesite, and also is more consistent with other attribute values typically entered in lowercase (e.g. domain names and true/false values).

* Use lowercase value in test
2019-10-16 10:15:47 -07:00
Peter Kimberley
f51857f054 Change property type definition for @types/force-graph (#39181)
* Add `refresh()` to ForceGraphInstance

* Make `GraphEntity::id` mandatory
2019-10-16 10:14:32 -07:00
Matthew Peveler
419eabbda7 [@types/watson-developer-cloud] remove unneeded types (#39059)
* [@types/watson-developer-cloud] remove types

* add bugfix version
2019-10-16 10:13:22 -07:00
paqe
f79c086246 [react-helmet] Revert removal of default export (#39094)
Reverts one of the changes in #38557

The default export is still present in versions 5.x:
https://github.com/nfl/react-helmet/blob/5.2.0/src/Helmet.js#L287

It has only been removed in 6.0.0-beta.
2019-10-15 16:54:30 -07:00
Tobias Koppers
370aadf2d8 add missing optional code argument to util.deprecate (#38753)
introduced in node v8
2019-10-15 16:52:13 -07:00
Vít Rozsíval
d3a7f11d86 Make @types/naja more accurate (#39156)
* Add types for naja

* Follow PR rules

* Change interface name

* Extend EventTarget

* Include all event types in map

* Improve events typing

* Add naja options interface

* Make options readonly

* Add more accurate typings

* Update signatures
2019-10-15 16:48:44 -07:00
Jeffery Grajkowski
c096045a7a Fix transfer_data not available on PaymentIntent creation and update options. (#39157) 2019-10-15 16:43:40 -07:00
Tom Picton
5c96fac575 Add types for @styled-system/should-forward-prop (#39129) 2019-10-15 16:07:19 -07:00
Matthew Peveler
2704228c72 [@types/ignore-walk] add types definition for ignore-walk (#39121) 2019-10-15 15:53:19 -07:00
inglec-arista
e1b26ffc11 [wildstring]: Add v1 types (#39110) 2019-10-15 15:37:11 -07:00
Joe
8e022c857b Add typings for jest-matcher-one-of (#39111)
* add jest-matcher-one-of typings

* fixed linting error for jest-matcher-one-of
2019-10-15 15:20:10 -07:00
matthewbryant95
e70fe61d28 Add type declarations for @hig/button (#39106)
* Add typedefs for @hig/button

* LF -> CRLF

* Add TypeScript version

* Update TS version to 3.0 for 'unknown'

* Turn off automatic exporting
2019-10-15 15:18:16 -07:00
Eric Liu
dc7bddcb5d feat(carbon__pictograms-react): add initial types for @carbon/pictograms-react (#39082)
* feat(types): add carbon__pictograms-react types for @carbon/pictograms-react

Add initial typings for @carbon/pictograms-react^10.7.x.

* feat(types): replace any with SVGElement for type argument
2019-10-15 14:56:10 -07:00
Simon Schick
cbe21d594a feat(node): v12.11 (#39116)
* feat(node): v12.11

* fixup! feat(node): v12.11

* fixup! fixup! feat(node): v12.11

* fixup! fixup! fixup! feat(node): v12.11

* fixup! fixup! fixup! fixup! feat(node): v12.11
2019-10-15 14:15:44 -07:00
Dmitrii Maganov
6499850051 [express-serve-static-core] Small improvements (#39025) 2019-10-15 14:10:40 -07:00
Junxiao Shi
cc3e615168 p-fifo: initial definition (#39095) 2019-10-15 13:58:57 -07:00
Vít Rozsíval
39224d9428 Add types for naja (#39092)
* Add types for naja

* Follow PR rules

* Change interface name

* Extend EventTarget

* Include all event types in map

* Improve events typing

* Add naja options interface

* Make options readonly
2019-10-15 13:57:17 -07:00
Emily Marigold Klassen
e56e1c816b Add types for nodemon (#39088) 2019-10-15 13:50:09 -07:00
Noam Alffasy
f7fb7dfada Added image-thumbnail types (#39086)
* Added image-thumbnail types

* Updated types to use the generator
2019-10-15 13:48:30 -07:00
ExE Boss
83185eca3d chore(gitignore/pnpm/v3): Ignore pnpm‑lock.yaml (#39060) 2019-10-15 13:38:17 -07:00
Fabien O'Carroll
80e25f0d49 [jsonwebtoken] Fix verify with encrypted key (#39028)
* [jsonwebtoken] Added breaking test for jwt.verify

* [jsonwebtoken] Fix verify with encrypted key

* [jsonwebtoken] Update formatting (auto)
2019-10-15 12:12:24 -07:00
Floris de Bijl
a5000ae84f [sharp] Update typings to 0.23 (#39001)
* [sharp] Update typings to 0.23

* Move input to OverlayOptions and Create to input

* Switch array of OverlayOptions to simple type

* Fix indentation
2019-10-15 11:48:34 -07:00
Maurice de Beijer
b5d9f57930 Add unstable_next() to the React scheduler (#38974)
* Add unstable_next to the React scheduler

* Apply suggestions from code review

Co-Authored-By: Nathan Bierema <nbierema@gmail.com>

* Update tests with aditional undefined result type

* No undefined because errors aren't caught and bubble up
2019-10-15 11:40:14 -07:00
Mateusz Burzyński
a5b172f575 Change .relatedTarget type to include null (#39134) 2019-10-15 11:32:41 -07:00
trode
3cdc2eb4d8 Missing montage method (#39109)
* Missing montage method

* add test for montage

* Update gm-tests.ts
2019-10-15 11:29:15 -07:00
Gabriel Montes
3a0b11664a Fix async.constant return type (#38876)
The return type is not just a Function, it is an AsyncFunction as specified in the docs:

https://github.com/caolan/async/blob/v3.1.0/lib/constant.js#L13

This will prevent incorrect TS errors to show up.
2019-10-15 10:39:02 -07:00
Jørgen Vatle
ba3797e984 Add type definitions for features added between Dinero.js v1.4 and v1.6. (#38856)
* Accept promises in ExchangeRatesApiOptions' endpoint property.

* Accept promises in ExchangeRatesApiOptions' endpoint property.

https://github.com/sarahdayan/dinero.js/releases/tag/v1.6.0

* Update dinero.js version.

* Add toJson() alias to Dinero.

https://github.com/sarahdayan/dinero.js/releases/tag/v1.5.0

* Correct code formatting.

* Assert that promises can be used in Dinero globalExchangeRatesApi.

* Assert that the Dinero toJson() alias returns a Dinero object.
2019-10-15 10:09:43 -07:00
Erik Krogh Kristensen
5d1074409c Fixing confusion with the new and constructor keywords. (#38997)
* remove non-existing constructor method from Array in Ember

* removed method named "new" and added a constructor to the Collaborator class in google-drive-realtime

* made LocalizedObservable into the class that it actually is in Knockout

* removed a method named "constructor" and replaced it with a constructor in microsoft-ajax

* removed a method called "new" and replaced it with a constructor in microsoft-ajax

* autoformat

* made QueryCursor into the class it actually is in mongoose

* made Connection into a class

* made QueryStream and QueryCursor into a classes

* removed two methods called "new" and replaced them with constructors

* change EventSubscriptionVendor into a class

* removed class only used internally Route (it had a wrongly declared method named "constructor")

* removed non-existing method named "constructor" in rx-angular

* made StackFrame into a class

* made StreamMeter into a class

* removed a method named "new" and replaced it with a constructor
2019-10-15 10:07:05 -07:00
Anwar Gul
225c60cb41 Update index.d.ts (#39138)
fixed typo "indead" to "instead" 
TYPO:
 /**
     * @deprecated Use animationType indead
 */
Fixed:
 /**
     * @deprecated Use animationType instead
     */
2019-10-15 15:23:22 +02:00
Matthew Peveler
6bd457dec0 [@types/wav] adds typings for wav (#39065)
* wip

* [@types/wav] add type definitions for wav
2019-10-14 16:59:42 -07:00
Gerhard Stöbich
bb43717ca3 [CI] use NodeJS 10 instead 8 for travis CI (#38946) 2019-10-14 16:54:12 -07:00
Chris
e72d59512c Add typings for rate-limit-redis (#39036)
* Add typings for rate-limit-redis

* Limit rate-limit-redis to TS 2.3 b/c of express-rate-limit requirement

* Bump rate-limit-redis to TS 2.7
2019-10-14 16:47:14 -07:00
ryanc16
dc02437227 adding leaflet-groupedlayercontrol types (#39044)
* adding leaflet-groupedlayercontrol types

* Adding typescript version information to index.d.ts file.

* Updating formatting in types

* Adding dom to libs in tsconfig

* Updating formatting issues in index.d.ts file
2019-10-14 16:39:46 -07:00
Robin van Wijngaarden
7c2c4a1a3f [react-lazyload] Updated types (#39002)
* Updated types for @types/react-lazyload

The prop `preventLoading` was introduced [here](https://github.com/twobin/react-lazyload/pull/243) and can be found back in `master` and the README of twobin/react-lazyload:
https://github.com/twobin/react-lazyload#preventloading

* Synchronize order of props with PropTypes from src

* Bump version

Exclude patch version
2019-10-14 16:35:02 -07:00
Oscar Busk
82b9c3b417 remove image-size types from DefinitelyTyped (#39004)
https://github.com/image-size/image-size/releases/tag/v0.8.0
2019-10-14 16:33:41 -07:00