Commit Graph

67002 Commits

Author SHA1 Message Date
David Sharp
adfffcc981 ffmpeg-static-3.0.0-export path as default instead of module.path (#41322)
* export path instead of module.path

* update name to match package docs

* update test to catch invalid import

* header version bump

* fix common mistake for spacing

* removing `ffprobe-static` typings
these typings no longer seem relevant to to ffmpeg-static

* Revert "removing `ffprobe-static` typings"

This reverts commit 268fcc7c6d0703483aed41550dd2570916a44d0f.

* fix ffprobe-static import

* fix dtslint test
2020-01-13 13:41:09 -08:00
Kamil Socha
4e36732801 [color-hash] Add definitions (#41524)
* Add color-hash definitions

* Change namespace export
2020-01-13 13:39:11 -08:00
Christopher Schreiner
ddb263c5b4 fix(nyaapi): cleanups and fixes (#41559)
remove unneccessary interfaces
add category and filter definitons
fix options definitons for si
2020-01-13 16:20:36 -05:00
Eric Danowski
37dd5009b9 Initial commit Add types for harmon (#41551) 2020-01-13 16:18:15 -05:00
Andre Nguyen
59d7243d02 [react-jsonschema-form] Add onBlur to FieldProps, isFixedItems, allowAdditionalItems, stubExistingAdditionalProperties, retrieveSchema, toIdSchema, validateFormData to Utils (#41501)
* Add types to rjsf - FieldProps; onBlur, Utils; isFixedItems, allowAdditionalItems, stubExistingAdditionalProperties, retrieveSchema, validateFormData

* Fixed line wrapping

* Revert "Fixed line wrapping"

This reverts commit 12383d05bcc23350c0ea915d95c98f6bf7a126e2.

* Added tests for utils, validation, fieldProps, and customFormats

* removed ajv import
2020-01-13 16:04:16 -05:00
Alan Agius
699b8159a6 fix: yargs-parser add unknown-options-as-args option (#41531) 2020-01-13 15:58:03 -05:00
Simon Gellis
7c7bd70de2 Harden highland types (#41532)
* Add iterable/iterator to constructor

* Add type assertions to isStream

* Fix types of pipe

* Make pluck optionally type-safe

* Add more methods from docs

* Make parameter names match doc comments

* Add docs for pick

* Improve types of new/modified methods

* Ensure all stream methods are tested
2020-01-13 14:41:01 -05:00
Khalil Mohammad Mirza
6a20a07fb3 Add name to ActionMeta (#41553) 2020-01-13 13:42:27 -05:00
Juwan Wheatley
6391d45f34 [react-modal] Use correct type for style objects (#41458)
* [react-modal] change styles type to CSSProperties for proper autocompletion and debugging

* [react-modal] fix lint step

* [react-modal] revert prettier styling changes

* use react-modal's style type rather than React's CSS Properties in test
2020-01-13 13:39:31 -05:00
Oliver Joseph Ash
4b907a29fb react-modal: include null in ref instance properties (#41560) 2020-01-13 13:36:21 -05:00
Nico Flaig
3803885cdc Add Algorithm type (#41459) 2020-01-13 13:33:11 -05:00
Ruslan Korkin
5ed4110724 add missing 'picture' field to 'ReactFacebookLoginInfo ' interface in 'react-facebook-login' type; (#41508) 2020-01-13 13:30:46 -05:00
kamakiri_ys
209c2329ee fix jsqubits complex type (#41543) 2020-01-13 13:25:53 -05:00
Piotr Błażejewicz (Peter Blazejewicz)
25dcc2cabf feat(chart.js): add 'sampleSize'. Closes #40775 (#41525)
Thanks!
2020-01-13 09:20:54 -08:00
Ruben Taelman
4e23dab093 Fix asynciterator EventEmitter extension for Node 13 (#41545) 2020-01-13 09:18:54 -08:00
Tomasz Pluskiewicz
897add7fa4 feat: improve creating single-node-context (#41557) 2020-01-13 09:18:25 -08:00
Thomas Bruun
222b05f80c Stripe: Remove bruun from contributors (#41564)
I've started using Stripe's official type definitions and will no longer
be contributing to these definitions
2020-01-13 09:17:10 -08:00
Josh Wedekind
0ba1042e32 @types/tapable - Add the isUsed() protected method to the Hook class type. (#41533)
* Add moduleIds and chunkIds to webpack optimization options.

* Add protected method, isUsed() to Hook class. Ref: https://github.com/webpack/tapable/tree/v1.1.3#hookhookmap-interface

* Add tests for isUsed().
2020-01-11 22:42:06 +00:00
magginichi
82a1118ac6 Added type definitions for os-service (#41495)
* Added type definitions for os-service

* Added type definitions for os-service

Co-authored-by: maggin1 <32147922+maggin1@users.noreply.github.com>
2020-01-10 16:40:57 -08:00
Andrey Romanov
d3c0fd9415 Add types for direction (#41512) 2020-01-10 16:38:25 -08:00
Kamil Socha
bd90367295 Add react-canvas-draw definitions (#41515) 2020-01-10 16:07:53 -08:00
Christopher Schreiner
a7b2cbb88a feat: add nyaapi (#41514) 2020-01-10 16:04:00 -08:00
Frédéric Junod
209c88d3ab Add missing Cesium.Cartographic.fromCartesian (#41507) 2020-01-10 15:53:49 -08:00
Sylvain Bellone
b181cbb669 [algoliasearch] Add ApiKey.indexes (#41487) 2020-01-10 15:53:14 -08:00
Austin Graham
d1c81ed0e1 Cavy/add focus types (#41474)
* add focus function type

* add tests

* change version number
2020-01-10 15:51:56 -08:00
Phillip Johnsen
7f55f31f78 [mustache] More correct definitions and reduce the amount of any (#41498)
- Updated mustache.js version in header
- More strict definition of tags, going from an array of string to
  an array of only two string items
- `readonly` on `.version | .name`
- Partials from `any` to `Record<string, string>` or a lookup function
  as that's what is expected
- `originalTemplate` from `any` to `string`
2020-01-10 15:49:26 -08:00
Caleb Clarke
8f8065155d Add preventInvalidHostname static property (#41497) 2020-01-10 15:08:49 -08:00
Robby Helms
d0a2f8cd1a [parse] Stricter constructors, and let Cloud.define return Promises (#41484)
* [parse] Stricter constructors, and let Cloud.define return Promises

* [parse] Improve intellisense for UserConstructor
2020-01-10 15:08:25 -08:00
Bram Borggreve
564d259680 fix: update faker ContextualCard interface (#41453) 2020-01-10 15:07:42 -08:00
Opportunity
7f91641db9 Add types for cli-color 2.0 (#41358) 2020-01-10 15:07:03 -08:00
Daniel Perez Alvarez
17cb4a9032 Improve type definitions for sizeof (#41517) 2020-01-10 15:04:57 -08:00
Guy Gascoigne-Piggford
282f273e8b [react-table]: restrict Header/Cell render types (#41518)
fixes: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/41476

Fix Column.Header and Column.Cell so that they can't be null.

Added a couple of util functions that were public and had been missed.
2020-01-10 15:01:37 -08:00
hirochachacha
d9985bf38c types/react-stripe-elements: simplify StripeProps (#41417) 2020-01-10 14:15:30 -08:00
Gabriel Soicher
a1c3da38c5 types for downscale - uses esmoduleinterop for export default (#41493)
* types for downscale - uses esmoduleinterop for export default

* umd declaration added
2020-01-10 11:40:24 -08:00
Rodolphe Lemasquerier
863519d139 add: type definition for react-native-check-box (#41400) 2020-01-10 11:38:12 -08:00
TypeScript Bot
c83e56ca90 Update CODEOWNERS (#41516) 2020-01-10 09:30:15 -08:00
Jannik Keye
405a85a92d chore(bootstrap-datepicker): add missing types (#41114)
* chore(bootstrap-datepicker): add missing types

* fix: use DatePickerViewMode for startView option

* fix:  daysOfWeekDisabled option typing

* test(bootstrap-datepicker): add tests for new property
2020-01-09 14:05:44 -08:00
Nekith
43b27efae6 [react-native-video] Add missing props (#41165)
* [react-native-video] replace 2 spaces indent by 4 spaces indent

* [react-native-video] add missing props

* [react-native-video] update version in header comments

* [react-native-video] fix version in header comments

* [react-native-video] add a few unique props in tests

* [react-native-video] fix buffer option's name (bufferForPlaybackAfterRebufferMs)
2020-01-09 14:04:36 -08:00
Matthew Little
fff6d4c351 [elliptic] Add types to incomplete 'derive' (#41251)
* [elliptic] Add types to incomplete 'derive'

Reference: https://www.npmjs.com/package/elliptic
> NOTE: .derive() returns a BN instance.

* Add ECDH tests

* Lint fixes

* Revert accidental test changes
2020-01-09 13:56:33 -08:00
falsandtru
d885d9e5a2 power-assert: Revert updates (#41140)
* Revert updates

* Add regression tests
2020-01-09 13:55:54 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
8fc13890b2 feat(intro.js): rework UMD module definition. Closes #41108 (#41304)
* feat(intro.js): rework UMD module definition. Closes #41108

- definition exposes both factory functions and namespace
- backward compatible with existing code
- add class access to test to cover fixed use-case
- prettier as per project settings

/cc @ippeiukai

Thanks!

* Add 'export as namespace' as per PR comment

/cc @ippeiukai
2020-01-09 13:51:12 -08:00
Giacomo "Mr. Wolf" Furlan
9cca53f7da Add 'name' prop to gapi.client.drive.update (#41213)
* Add 'name' prop to gapi.client.drive.update

Resolves issue #41212
Ref: https://developers.google.com/drive/api/v3/reference/files/update

* Lint: comment line too long
2020-01-09 13:47:42 -08:00
Oliver Winter
776cbc2734 react-query: Update refetch return type to promise (#41394)
* Update react-query refetch return type

* Update refetch expected types

* Fix tests for updated refetch types
2020-01-09 13:33:02 -08:00
SeoYH1017
5cf30d420c update getEmojiDataFromNative util type (#41405) 2020-01-09 13:27:24 -08:00
ExE Boss
d0e1a345f7 feat: Add symbol‑tree (#41490) 2020-01-09 13:04:46 -08:00
Chris Wilkinson
975bd5ac64 Add rdf-dataset-indexed (#41482) 2020-01-09 12:48:33 -08:00
Jake Runzer
d4916b921d babel-plugin-macros: Export all types and fix References type (#41422)
* update babel-plugin-macros types to match docs

* babel-plugin-macros update version and ts version

* babel-plugin-macros update createMacro and MacroError types

* babel-plugin-macros: revert typescript version to 2.9
2020-01-09 11:41:01 -08:00
Jaden Johnson
8c7f656341 adds optional generic type argument to aggregations (#41486) 2020-01-09 11:40:35 -08:00
Joonas Rouhiainen
7914158c56 [react-select] Add NonceProvider component (#41481)
react-select provides this simple wrapper for emotion's CacheProvider

See e04ed3eab3/packages/react-select/src/NonceProvider.js
2020-01-09 11:37:39 -08:00
Alex Senko
7b1213b6b7 recharts: added className to TextProps, added onMouseEnter and onMouseLeave to CellProps (#41479)
* recharts: added customized component

* recharts: added className to TextProps, added onMouseEnter and onMouseLeave to CellProps

* recharts: fixed tests according to code review
2020-01-09 11:37:17 -08:00