Commit Graph
63998 Commits
Author SHA1 Message Date
Ben Salili-James c2b584cfdc Add editorKey and textDirectionality props to draft-js (#37674) 2019-08-16 11:52:07 -07:00
ikokostya 89e4834fc3 [pg] Add connectionTimeoutMillis and keepAliveInitialDelayMillis options to ConnectionConfig (#37635) 2019-08-16 11:51:23 -07:00
Tim Yates bafd802370 [@testing-library/vue] Update to 2.0 and relax dependency versions (#37676)
* [@testing-library/vue] Update to 2.0

* [@testing-library/vue] Relax dependency versions

vue-router and vuex are *not* listed as dependencies of @testing-library/vue. They are essentially optional, but we need them for the type definitions.

Relaxing these constraints makes it less likely that npm/yarn will install a private copy under `@types/testing-library__vue/node_modules/` simply becuase the user's package declares an older minor or patch release.
2019-08-16 11:50:29 -07:00
Charmander 2ffd0e0828 pg: Update return type for query() callback overloads (#37661)
`Client.prototype.query` switched from returning a (thenable) `Query` when given a callback to returning nothing in pg@7.0.0. `Pool.prototype.query`’s history is similar.
2019-08-16 11:44:09 -07:00
Gabriel JUCHAULT 8f18d93086 webtorrent: add missing fields to Torrent, create Piece interface (#37609)
* webtorrent: add missing fields to Torrent, create Piece interface

* chore: bump package version in comments

* update tests

* fix: use only major/minor

* fix: pieces can have null values

* fix: build
2019-08-16 11:41:42 -07:00
Harris Lummis ae10522911 [pino] Extend stdSerializers Object (#37477)
* [pino] Extend stdSerializers Object

- Add missing methods to stdSerializers object:
  - mapHttpRequest
  - mapHttpResponse
  - wrapErrorSerializer
  - wrapRequestSerializer
  - wrapResponseSerializer
- Import types from pinoStdSerializers
- Replace existing property types of stdSerializers with imported types
- Add tests for serializers
- Export return types of serializers

* [pino] Bump Minimum TypeScript Version

- dependency  requires minimum TypeScript version 2.7, so bump
  pino minimum version from 2.3 to 2.7

* [koa-pino-logger] Bump Minimum TypeScript Version

- Dependency 's minimum TypeScript version bumped to 2.7, update minimum version here as well

* [pino] Update Author List

- Add self as definition author :)

* [pino] Add Comment to Tests

- Add comment to explain additional tests, trigger a new Travis build

* [pino-http] Bump Minimum TypeScript Version

- Bump minimum TS version to satisfy minimum version of dependency pino

* [pino-multi-stream] Bump Minimum TypeScript Version

- Bump minimum TS version to satisfy minimum version of dependency pino
2019-08-16 11:37:03 -07:00
Teodor Tanasoaia dd3969787b add VarargLiteral to FunctionDeclaration parameters (#37662) 2019-08-16 11:30:51 -07:00
Tony Narlock e587fea7e6 video.js: Fill in missing controlBar option (#37632) 2019-08-16 11:30:02 -07:00
Andrew Schmadel 91f947cfb1 lodash: infer return type of flattenDeep when using _.chain (#37443)
* lodash: infer return type of flattenDeep when using _.chain

* lodash: additional tests for _().flattenDeep()

* lodash: remove unnecessary infer

* lodash: better type inference for _.flattenDeep()
2019-08-16 11:28:57 -07:00
Alex Jerabek 3ce08c0fc0 [office-js, office-js-preview] Deprecating number version of isSetSupported (#37656)
* Increased urgency around using strings in isSetSupported

* Fixing param name

* Adding deprecated tag

* Addressing feedback

* Fixing spacing
2019-08-16 11:27:58 -07:00
David Sommerich 1f0451d588 Switch await-timeout from export default to export = (#37663) 2019-08-16 11:25:14 -07:00
Oliver Joseph Ash 9aa863ef23 Express: improve type of Request['params'] aka req.params (#37502)
* Express: improve type of `Request['params']` aka `req.params`

* Lint

* Hoist

* Fix tests

* Fix tests

* Dot notation

* Fix tests

* Fix tests
2019-08-16 11:05:20 -07:00
Tim Yates 4648d9453d Add types for @testing-library/vue (#37655) 2019-08-16 05:57:09 +01:00
Jack Allen 00a6bcfbfc [@brainhubeu/react-carousel] Added new package (#37617) 2019-08-15 17:39:43 -07:00
Andrew Lineyschikov 59cb9669eb Add types for Leaflet.UTM (#37625)
* Add types for Leaflet.UTM

* Add dt-header check for leaflet.utm
2019-08-15 17:37:27 -07:00
Jeroen Claassens 592e81a21c [leaflet-draw] Upgrade leaflet-draw compatibility to latest version (#37372)
* Upgrade leaflet-draw to new version

- Formatted the code with VSCode formatter
- Made some parts easier to read
- Included new properties where necessary
- Included the Localization namespace to cover all the localization
types used by leaflet-draw
- Use actual JSDoc tags to document the code (improving VSCode IntelliSense)
- Wherever the JSDoc would say "see code", they are now replaced
with the actual code that it is defaulted to
- Generally went through leaflet-draw's documentation and fixed what
could be fixed

Signed-off-by: Jeroen Claassens <support@favware.tech>

* Change indent to spaces
2019-08-15 17:17:49 -07:00
Eliseu Monar dos Santos 6789a2961f styled-system: Add individual border and overflow props (#37573)
* Add overflowX and overflowY properties

Add @eliseumds as contributor to styled-system

* Add individual border props to styled-system

* styled-system: bump up the version to 5.1
2019-08-15 16:09:42 -07:00
Nivesh Ravindran 787107603a react-resize-detector: Generically type withResizeDetector HoF (#37425)
* feat: generically type withResizeDetector HoF

* test: add example for HoF consumption

* feat: revert typescript version upgrade and add Omit type
2019-08-15 16:01:28 -07:00
Martin V b6c6778f4f Fix forceUpdate callback typo (#37628) 2019-08-15 15:52:01 -07:00
Alex Ilyaev 525d1d8b0f @types/promptly: Add replace property inside options (#37534)
* promptly: Add `replace` property inside `options`

Was missing `replace`, see https://github.com/moxystudio/node-promptly

* Updated promptly version
2019-08-15 15:46:37 -07:00
TypeScript Bot 1709112cb6 Update CODEOWNERS (#37538) 2019-08-15 14:51:59 -07:00
Thibault Malbranche 0553a2e1fb Fixed types for the 1.0 release (#37373) 2019-08-15 14:38:50 -07:00
Kwok Chi Leong b489356bba [@types/map-to-obj] New type definition (#37638)
* [@types/map-to-obj] New type definition

* [@types/map-to-obj] Fixed typo
2019-08-15 14:27:22 -07:00
Ivan Zverev c38b215bfb Added types for nano-equal (#37639) 2019-08-15 14:05:13 -07:00
Thibault Meunier 502c2414be Add rfc4648 types (#37545)
Add types for `rfc4648` package
2019-08-15 12:10:42 -07:00
Christian D 613c920866 [@types/cassandra-driver] Update to cassandra-driver 4.1 (#37597)
* Update to cassandra-driver 4.1

Add `concurrent` namespace

* Add options to executeConcurrent

* Add getOptions to policies
Add hostId to Host class
2019-08-15 12:09:06 -07:00
Martin acdb9eff8b Add minBarLength to chart scales (#37640)
Change-Id: I36c31f91b8522416e865dd3677158c12a057f24d
2019-08-15 11:58:00 -07:00
Cina Saffary df41214211 [react-redux] add ConnectedProps type (#37300) 2019-08-15 11:56:35 -07:00
Timur Manyanov 167029da71 Simplify/improve marko/express definitions (#37561) 2019-08-15 11:50:47 -07:00
mstlaurent-paradigm 13ad568eaa [@types/tabulator-tables] getRowFromPosition returns a RowComponent instead of void (#37646) 2019-08-15 11:46:24 -07:00
Yankovsky Andrey 4c1ead0ed6 Adds onBlur typings to rc-slider (#37644)
* Add onBlur typings to rc-slider

* Adds onBlur to rc-slider, adds this prop to tests

* Add semicolon to rc-slider tests
2019-08-15 11:45:37 -07:00
Teodor Tanasoaia e35d181fbb add MemberExpression as identifier for FunctionDeclaration (#37641) 2019-08-15 11:44:50 -07:00
Dan Vanderkam f9da8ce72a [mapbox-gl] Add CustomLayerInterface (#37651) 2019-08-15 11:40:44 -07:00
Alex Krolick 4cf3fefca3 [testing-library] create @testing-library/* definitions (#37606)
* [testing-library] create @testing-library/* definitions

* Fix lint issues (#1)

* fix(lint): Fix lint issues for `@testing-library/dom`

* fix(lint): Fix lint issues in `@testing-library/react`

* chore(format): Format `@testing-library/react`

* chore(format): Format `@testing-library/dom`

* chore: Add `@eps1lon` as collaborator

* fix(testing-library): GH url

* chore: fix lint error (#2)

* Updated contributions (#3)

* chore: Added my name

* chore: Added me

* chore: Hooks

* chore: Hooks

* Update index.d.ts

* bump major version

* Revert "bump major version"

This reverts commit 04b992e586ba8b316d129b349bc3dc5d2e6fee33.
2019-08-15 19:07:14 +01:00
Dima Zvazhii 25f213897b flexmonster .d.ts update (#37566)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class

* ExportOptions.fontUrl

* Options.caseSensitiveMembers

* new API call added

new API call openCalculatedValueEditor

* requestHeader was renamed into requestHeaders

* Update index.d.ts

simplifyFieldListFolders

* Update index.d.ts

validateReportFiles

* Update index.d.ts

filter.liveSearch

* update getData callbacks

* Update index.d.ts

* added levels for getAllHierarchies() API

* Level definition update

* CellData properties update (+ recordID, + rowData)

* Added dataSource.type

* "Definitions by" were updated
2019-08-15 10:07:35 -07:00
dburdan 10b6a9d288 stripe: Added SetupIntents, and added invoice_settings on Customer (#37418)
* stripe: Added invoice_settings on Customer

* stripe: Added SetupIntents
2019-08-14 18:36:50 -07:00
Tobias Krahn 78d8ce4ee2 [chart.js] add missing align fields to ChartTooltipOptions (#37612)
* [chart.js] add missing align fields to ChartTooltipOptions

* [chart.js] updated version
2019-08-14 18:34:13 -07:00
Ivy Witter f0cd0ddae0 Fix got response timings (#37633)
* added beforeErrorHook type

* fixed formatting in test

* corrected beforeErrorHook implementation

* @types/got fixed unintended whitespace/style changes

* @types/got fixed remaining unintended style changes

* @types/got reduced to single error type

* @types/got removed doc from beforeErrorHook type as definition is obvious

* @types/got added timing interfaces to response interface
2019-08-14 18:32:30 -07:00
PikachuEXE 77aa4ad6b9 Backport signature merging for JQuery.find to v2 (#36897) 2019-08-14 17:45:10 -07:00
TokugawaT_YD 1e4e8bbb48 Update types for Autoprefixer 9.5 -> 9.6 (#37393)
* clear to tests

* clear to tests

* clear to tests
2019-08-14 17:40:43 -07:00
Jérémie Astori df430a582d [@types/node] Fix cursorTo requiring a y parameter (#37630)
* Fix `cursorTo` requiring a `y` parameter

When `y` is omitted, `cursorTo` moves the cursor to the first character of the current line. When `y` is required, there is no way to use this capability of `cursorTo`.

* Re-add `cursorTo` test when not passing down `y` parameter
2019-08-14 17:27:25 -07:00
Sylvan Mably 4e846ad5af Add debug argument to Boom.reformat() (#37487) 2019-08-14 17:24:38 -07:00
Pedro Tôrres 3afd612b19 openToYearSelection on DatePicker of material-ui (#37366) 2019-08-14 17:22:49 -07:00
Seally f4d65d8c02 [csp-html-webpack-plugin] Add type definitions (#37544)
* [csp-html-webpack-plugin] Add type definitions.

* [csp-html-webpack-plugin] Fix test file formatting with Prettier.

* [csp-html-webpack-plugin] Move HtmlPluginData into exported namespace.

* [csp-html-webpack-plugin] Remove comment on HtmlPluginData.

* [csp-html-webpack-plugin] Use conditional types to figure out HtmlPluginData type.

* [csp-html-webpack-plugin] Remove 'esModuleInterop' from tsconfig.json.
2019-08-14 15:16:07 -07:00
TobyB 9f95322146 updated typings (added new methods) (#37504) 2019-08-14 15:02:48 -07:00
Van Nguyen de251309a1 add reformat() debug parameter (#37508)
should mirror https://github.com/hapijs/boom/blob/7c03582a4b137b45735ce29fa75e7e6c9d5a861b/lib/index.js#L412
2019-08-14 14:40:19 -07:00
TokugawaT_YD f18ba003c3 Types for Html-validator (#37607)
* draft

* clear to tests

* Clear for tests
2019-08-14 14:35:43 -07:00
Rob Scott a26e3956af ensure promise returns are correctly typed (#37620) 2019-08-14 12:56:07 -07:00
Andy Richardson a32cdbb4d1 Change export to default (#37558) 2019-08-14 12:55:21 -07:00
Bohdan Stupak 47bde55ff8 [leaflet] Add missing TileLayerOptions properties (#37613) 2019-08-14 12:52:51 -07:00