Commit Graph
65063 Commits
Author SHA1 Message Date
Derek Yu 6ec670c7d0 plotly.js: Add customdata field to PlotData and Margin padding (#39067) 2019-10-16 16:03:38 -07:00
Marco Beltempo 13db742b5b Add typings for @onfleet/node-onfleet package (#39130)
* Generated template files

* Added type definition for Worker resource

* Added type definition for Webhook resource

* Added type definition for Destination resource

* Added type definition for Recipient resource

* Added type definition for Task resource

* Added type definition for API helper

* Added type definition for HttpError helper

* Added type definition for metadata helper

* Added type definition for main Onfleet class

* Added index export for resources and helpers

* Added type definition for Admin resource

* Added type definition for Hub resource

* Added type definition for Organization resource

* Added type definition for Teams resource

* Added definition for Container resource

* Fixed insertTask definition

* Lint fixes:
-sorted class members ASC
-consistent interface naming

* Set Typescript version to 3.5

* Lint fixes:
- export all module declarations
- combined overload methods with optional params

* Renamed `Admin` module to `Administrator`

* Added tests

* Convert ES2015 modules to CommonJS modules

* Renamed resource files
to match package naming convention

* Removed unnecessary API type

* Removed resource index file

* Lint fixes: prefer single quotes

* Use require for module imports

* Set Typescript version to 3.5

* Fixed  test module import

* Renamed import paths `Resources` to `resources`

* Deleted unused error module
2019-10-16 16:01:32 -07:00
Max Boguslavsky d067c52e79 Added type for @webpack-blocks/core (#39006)
* created draft for @types/webpack-blocks__core

* corrected formatting

* added tests to typing

* corrected formatting; fixed import

* - implemented definitions for webpack-blocks package.

* - implemented definitions for webpack-blocks package.

* - corrected formatting for import/export in main package.

* - corrected formatting tests for assets.

* - added declarations for @webpack-blocks/babel plugin.

* - updated tests for babel.

* - updated tests for babel subpackage.

* - implemented dev-server type

* - updated description for babel.

* - corrected formatting.

* - implemented definition for webpack-blocks/extract-text package.

* - corrected formatting

* - implemented webpack module for webpack-blocks

* - proxied more methods.

* - corrected formatting.

* - implemented definitions for @webpack-blocks/postcss package.

* - corrected formatting.

* - corrected type description.

* - implemented definition for @webpack-blocks/sass package.

* - corrected formatting.

* - implemented draft definitions for webpack-blocks/typescript package.

* - implemented draft definitions for webpack-blocks/uglify package.

* - updated interface for typescript;
- corrected name and formatting for tests.

* - corrected name for tests.

* - corrected link to package;
- corrected formatting;
- removed redundant module.exports from test.

* - corrected typings for @webpack-blocks/uglify.

* - corrected namings.

* - corrected import and version.

* - corrected import and version.

* - corrected import and version.

* - simplified type.

* - corrected imports.
2019-10-16 15:14:41 -07:00
Alex Jerabek 5c4192c3b2 Clarifying Worksheet.copy behavior (#39189) 2019-10-16 14:59:54 -07:00
Alex 6214765f1f Add typings for NestDB (#39063)
* Add typings for NestDB

Based on the existing NeDB typings, since NestDB is a fork.

* Update index.d.ts

* Update nestdb-tests.ts
2019-10-16 14:59:28 -07:00
Gonzalo D'Elia 48e32a92e7 Upgraded types to latest version: Added id field for Bar, Line, Scatter, Area and properties gap and leaveTimeOut in Brush (#38680) 2019-10-16 14:54:37 -07:00
ExE Boss 9294a66f12 feat: Add define‑properties (#39058)
* feat: Add `define‑properties`

* fix(define‑properties): Correct definition authors
2019-10-16 14:06:55 -07:00
ExE Boss 192a1b5b5b feat: Add array.from (#39055)
* feat: Add `array.from`

* docs(array.from): Add TSDoc comments

* docs(array.from): Improve TSDoc
2019-10-16 14:06:06 -07:00
Junxiao Shi a66be93748 hirestime: initial definition (#39159) 2019-10-16 13:56:53 -07:00
Forzoom f4d8af8660 add growing-io (#39163)
* feat: add growing-io

* fix: for non-npm package
2019-10-16 13:54:07 -07:00
Laszlo Pandy 5c97ace92d Nullable event listeners for MediaRecorder (#39144)
Allow setting event listeners to null when using strictNullChecks
2019-10-16 13:34:15 -07:00
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 BeijerandNathan Bierema 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