Commit Graph
62683 Commits
Author SHA1 Message Date
Prasad Nayak bfa71cfef9 [@types/ffmpeg] Add types (#35741)
* [@types/ffmpeg]: add types

* refactor: make changes as suggested by the linter

* fix: restrict to ts 2.1

* refactor: use `export =`
2019-05-30 11:15:00 -07:00
Goldsmith42 f8b8de8a86 Added dynamic-time-warping module (#35773)
* Added dynamic-time-warping module

* Additional linting fixes

* Made dynamic-time-warping global

* Removed trailing whitespace
2019-05-30 11:11:14 -07:00
the2ndlaw 28981e2b04 Add getConfig and listConfigs (#35817) 2019-05-30 11:10:15 -07:00
Alpha 8e9c4b5479 [react-native-vector-icons] add missing method (#35832) 2019-05-30 11:09:53 -07:00
Rudolf Meijering a095d457e7 [elasticsearch] Add errors.Forbidden (#35809)
https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/16.x/errors.html
2019-05-30 11:09:32 -07:00
Zhang Yi Jiang ab40c6253d [express-winston] Add function type for options.msg (#35671)
* [express-winston] Add function type for options.msg

* Add tests
2019-05-30 11:05:23 -07:00
Katsuya Hino bd2ad6c783 [min-css-extract-plugin] Fix MiniCssExtractPlugin.loader type (#35827) 2019-05-30 11:04:50 -07:00
Josh McCullough 207b590697 classnames: export types (#35692)
* add myself as author

* export types

* remove illegal comment from tslint.json

* move types to own definition files so they can be exported

* revert import change in tests
2019-05-30 11:04:31 -07:00
Christopher Deutsch ed351012b2 Export react-syntax-highlighter SyntaxHighlighterProps (#29960) 2019-05-30 11:03:23 -07:00
Spencer Elliott 96e127ffc9 Update slate-react types for v0.22 (#35639) 2019-05-30 11:02:40 -07:00
Miklós András Danka 164f5adc80 Luxon@1.15: Fixes type of ZoneOffsetOptions (#35816)
* Fixes type of ZoneOffsetOptions

* Added tests

* Compile fix

* Test updates

* Fixed incorrectly optional argument

* Updated tests
2019-05-30 11:02:24 -07:00
Felipe Lacerda 2be4433c5c [atlaskit__tree] Accept null innerRef argument (#35814)
The current type doesn't match the type Ref for React's ref prop:

  TS2322: Type '(element?: HTMLElement | undefined) => void' is not assignable to type 'string | ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined'.
    Type '(element?: HTMLElement | undefined) => void' is not assignable to type '(instance: HTMLDivElement | null) => void'.
      Types of parameters 'element' and 'instance' are incompatible.
        Type 'HTMLDivElement | null' is not assignable to type 'HTMLElement | undefined'.
          Type 'null' is not assignable to type 'HTMLElement | undefined'.

This change allows the argument to innerRef to be null, which makes
the types match.
2019-05-30 11:01:28 -07:00
Dmitriy Lazarev d51cebc037 [mocha] fix reporter constructor options (#35802)
* [mocha] fix reporter constructor options

According by https://github.com/mochajs/mocha/blob/master/lib/mocha.js#L811

* [mocha] remove unnecessary `Mocha` qualifier
2019-05-30 11:01:00 -07:00
Florian Keller 10b1b74d27 [sql.js] Fix config declaration and constructor (#35713) 2019-05-30 11:00:34 -07:00
Charles Samborski b6ff9c2306 fix(node): add undefined return to url in inspector (#35204)
This commit fixes the return type of the `url` function from the `inspector` Node module. The value `undefined` is returned when there is no active inspector.
2019-05-30 10:59:04 -07:00
kychen b3c4e2af48 [@types/sequelize] Removed the where property from options of findById, findByPrimary and findByPk (#35735)
* [@types/sequelize] Removed the where property from options of findById, findByPrimary and findByPk

* [@types/sequelize] Added test cases for passing options to findById, findByPrimary and findByPk
2019-05-30 10:58:37 -07:00
Mathieu TUDISCO bcfb1a08a8 [react-router-config] Add render key in route config. (#35805)
* Add render key in route config.

* Update with proper type directly from @types/react-router

* And update for nested routes.
2019-05-30 10:57:26 -07:00
Михайлов Антон bb632389a0 [paper] Fix toJSON return type (#35806) 2019-05-30 10:56:55 -07:00
Ruben Taelman 13e317fe33 Make N3 Store implement RDFJS Store (#35813) 2019-05-30 10:56:04 -07:00
Jose Camara f08baa1d0f Feature/kafkajs update kafka options to include log creator (#35831)
* Changefs in `kafkajs` to update to the latest version

Include `logCreator` in `KafkaOptions`

* Include example in the tests

* Fix linter problems

* Updated version of `kafkajs` to 1.8
2019-05-30 10:53:07 -07:00
Dmitry Demensky 4685bbd271 [googlemaps] Update DirectionsWaypoint interface (#35798)
* [googlemaps] Update DirectionsWaypoint interface

* [googlemaps] Add DirectionsWaypoint test
2019-05-28 15:54:47 -07:00
Adam Walker 02903fa513 Add typings for react-native-honeywell-scanner (#35797)
* Add typings for react-native-honeywell-scanner

* fixup! fix export error
2019-05-28 15:51:38 -07:00
Fernando Chen 4b2c1d0844 Add type definitions and tests for 'react-elemental' module (#35768)
* Add type definitions and tests for 'react-elemental' module

* Fix

* Fix tslint.json
2019-05-28 15:23:32 -07:00
jgeth a39cadfd2a Adds type definitions for 'jaeger-client' (#35796)
Adds type definitions and tests
Adds package configuration for external types
Adds tsconfig and tslint config
Adds target Typescript version header to support 'opentracing' external types
2019-05-28 14:52:08 -07:00
Tom cec8eb31ac Fixed nested structured of Entity/EntitySynonyms to reflect struct in docs (#35794) 2019-05-28 14:43:01 -07:00
swyx 32d0440d31 Add @types/frecency (#35742)
* add @types/frecency

* update
2019-05-28 14:27:19 -07:00
jhey tompkins 4e081f6fc7 [@types/styletron-engine-atomic] foundation for styletron-engine-atomic (#35727)
* [@types/styletron-engine-atomic] foundation for styletron-engine-atomic typings

* fix: add TypeScript version

* fix: linting + add cache types
2019-05-28 14:24:17 -07:00
Connor Fitzgerald 6c261bd1d7 Update oracledb definition (#35654)
* WIP updating oracledb typings to 3.1.2

* WIP

* SODA WIP

* .d.ts done. Needs tests writing

* Finished

* Added pool stats methods. Fixed bug with BindParameter being string or number

* Making _enableStats optional

* Allow parameters to be nulled

* Capitalise namespace

* Update contribution URL

* Revert "Update contribution URL"

This reverts commit f329d293dceaf44832ae3424753c1ccb98378df2.

* Update contribution URL

* Change poolAlias to string. SODA not in preview. Add BindParameters interface

* getRows should not return void
2019-05-28 14:08:52 -07:00
Hammad Jutt b7e78ebb85 [detox] add jest specReporter (#35641) 2019-05-28 14:07:23 -07:00
Matt Bishop 1aba12df8d [restify] add Router.render() missing method (#35613) 2019-05-28 14:03:55 -07:00
Jeferson Oliveira 8640e81726 @types/google-map-react - Style property definition (#35581)
* style property definition

* Fix missing React reference
2019-05-28 13:55:38 -07:00
Moshe Kolodny 77f45609e6 [jasmine] Allow calling spyOn for class constructors and add AnyMethods type to jasmine namespace (#35483)
* Add AnyMethods to jasmine namespace

* ts-bot only checks top level index.d.ts files
2019-05-28 13:54:21 -07:00
Daniel Cassidy 5ce88a3373 prettier-package-json: Add type definitions (#35790) 2019-05-28 13:49:57 -07:00
immigration9 8ce8f37634 added type definitions for multireducer (#35776)
* added type definitions for multireducer

* added type definitions for multireducer fixed issues
2019-05-28 13:48:39 -07:00
Vincent DELACOURT 369612c7c8 Added react-native-version-check (#35769)
* Added react-native-version-check

* config problem (forget add extension to test file)
2019-05-28 13:44:22 -07:00
billytrend efc2561ca7 Add start function to nodegit Tree.walk return type (#35698)
* Add start function to Tree.walk return type

* Add test
2019-05-28 13:40:14 -07:00
breeze9527 46b4037bf0 New definition for non npm-package amap-js-api-driving (#35747)
* [amap-js-api] update to v1.4.14

* Add definition for non npm package: amap-js-api-district-search

* Add type definition for non npm-package amap-js-api-line-search

* Add type definition of non npm package amap-js-api-arrival-range

* New definition for non npm-package amap-js-api-driving
2019-05-28 13:30:00 -07:00
sahil-cb 9f60c235c4 Update types for Coinbase Commerce (#35666)
-Added USDC as a currency (launched 05/20/2019)
-Added 'CANCELED' to PaymentStatus (https://commerce.coinbase.com/docs/api/#charge-resource)
2019-05-28 13:12:53 -07:00
Christian Scheja 6d103e2102 @types/yeast: adding type definitions (#35728)
* @types/yeast: adding type definitions

* fix: npm test issues

* fix: declaration as UMD module
2019-05-28 13:05:25 -07:00
折腾笔记 231e2d5161 add class EditorContext for uni-app types (#35712)
* fix: getStoragetSync return value is incorrect.

* fix: The type of return value type of Storage is incorrect

* added parameter for GetStorageOptions.success

* added value parameter for setStorageSync

* fix setStorageSync with value: any

* update types for uni-app

* add class EditorContext for uni-app types

* fix lint for uni-app

* remove *.vue module for uni-app
2019-05-28 13:02:44 -07:00
PikachuEXE c3a16ffdf2 Create types: @types/js-captcha (#35686) 2019-05-28 13:00:45 -07:00
YellowKirby 8821e40a2e Add types for purdy@3.5 (#35679)
* [purdy] Add types for 3.5

* [purdy]: Don't ignore lint warning
2019-05-28 12:58:50 -07:00
Kamil Lewandowski fcc4f70ab2 Update index.d.ts (#35650)
* Update index.d.ts

* Update index.d.ts
2019-05-28 12:53:50 -07:00
Li Zhen 9e26db59d7 [@types/kos-core] Update definitions to fit the latest version (#35648)
* Update definition 'KosModel.asyncs'

* Fix a type bug

* Fit the new features

* Update action type

* Update definitions to fit new version.

* Format as lint

* Fix 'Bash exited with code \'1\'.'
2019-05-28 12:52:56 -07:00
Sam Lin 614b83fe75 update HostedFieldsField for braintree-web (#35638)
* update HostedFieldsField

https://braintree.github.io/braintree-web/current/module-braintree-web_hosted-fields.html#~field

* update maskInput type

* update maskInput comment
2019-05-28 12:51:01 -07:00
Remco Haszing b3a144d609 Add types for react-shadow-dom-retarget-events (#35200)
* Add types for react-shadow-dom-retarget-events

* Use esModuleInterop for react-shadow-dom-retarget-events
2019-05-28 12:40:26 -07:00
Sergio Arbeo ca6a7fe49a Improvements for chromecast-caf-receiver package. (#35703)
* Add cast.framework.events.category namespace

* Make cast.framework.messages.Command its own namespace

* Update HlsSegmentFormat values and add missing ones.

* Add cast global

* Add a few tests

* Lint

* Bump version
2019-05-28 12:24:16 -07:00
Chris Shaffer 32db7fc4ed Add missing types for aliases querystring.encode and querystring.decode to v12 & v11 (#35694)
* Added definitions - encode & decode aliases

These have existed since @ least v10 and are documented here: https://nodejs.org/api/querystring.html

* corrected order of comments for encode & decode

* Added definitions for encode & decode aliases

These have existed since at least v10 and are documented here:  https://nodejs.org/api/querystring.html

* corrected 'ParsedUrlQueryInput' & jsdoc comments

* Corrected jsdoc alignment

* Corrected jsdoc comment

* refactored encode and decode aliases with typeof
2019-05-28 12:21:54 -07:00
Domino987 04031dd4ae Added missing hover types to plotdata (#35718)
* Added missing types

This adds the missing 'y+text' combination and the hovertemplate prop to PlotData

* Fix whitespaces
2019-05-28 12:21:45 -07:00
Grant Timmerman d9576a981b [@types/google-apps-script] Fixes #32585. Removes lib.d.ts. (#35730)
* [@types/google-apps-script] Fixes #32585. Removes lib.d.ts.

* [google-apps-script] Fixes conflicting Date class
2019-05-28 12:20:52 -07:00