Commit Graph
66842 Commits
Author SHA1 Message Date
David Ernst 070fa8d410 [react-native]Picker.style expects TextStyle (#41729)
The package itself says it's expecting a `TextStyle`, not a `ViewStyle` (https://github.com/facebook/react-native/blob/84adc85523770ebfee749a020920e0b216cf69f8/Libraries/Components/Picker/Picker.js#L62). 

Specifically, setting this to `ViewStyle` causes Typescript to complain if you try to set a `color` property, which does in fact work.
2020-01-21 09:48:13 -08:00
KentarouTakeda 1222cab18e Add types of ChartPoint, ChartData. (#41710) 2020-01-21 09:43:21 -08:00
Kelvin Chu 6e8c5f5b00 [react-native]: add message to WebSocketCloseEvent. (#41731) 2020-01-21 09:35:55 -08:00
Felix Haus 6b15eefb54 [webpack] Add definitions for upcoming release (#41736)
* webpack: Adds definitions for v5 release

* webpack: Move webpack-tests.ts -> test/index.ts
2020-01-21 09:34:44 -08:00
Jack Wearden 96dfce7a5d highland: convert spaces to tabs and add tslint rule (#41717) 2020-01-21 09:30:49 -08:00
AlCalzone 8189cbe230 [iobroker] add definitions for the integrated objects and states cache (#41753) 2020-01-21 09:16:07 -08:00
Oliver Joseph Ash 4fef8e2c33 react: Children fixes (#41760)
* `react`: `Children.map` fixes

https://reactjs.org/docs/react-api.html#reactchildren

* Refine return type

* Apply same changes to `toArray`
2020-01-21 15:13:53 +00:00
John GozdeandSebastian Silbermann 903eaaf06d Add @testing-library/jest-dom (#37792)
* Add @testing-library/jest-dom

* Fix global test

* Update jest-dom typings for (future) v5

- Remove module typings
- Sync global typings with latest version

Apply suggestions from code review

Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-01-21 14:42:30 +00:00
Jan Aagaard 4ab4fa9c80 Use union types instead of overloads (#41596)
* Use union types instead of overloads

* Format with Prettier
2020-01-21 04:29:33 -05:00
Stephane Moser 06ed23b54b Add types to library x509.js (#41713)
* Add files for types

* Fix lint issues

* Add tests

* Remove test data
2020-01-21 04:28:26 -05:00
John Simon d0c3a91328 When act is not async, don't return a Promise-like (#41496) 2020-01-20 19:37:05 -05:00
Zacharias Björngren 7a3aac3ac8 [istanbul-lib-report] Updates watermark types (#41464)
* [istanbul-lib-report] Updates watermark types

* [istanbul-lib-report] Updates types to 3.0.0
2020-01-20 19:36:32 -05:00
Opportunity 72942510c3 add register to source-map-support (#41461) 2020-01-20 19:35:53 -05:00
Bert Verhelst 1d9a6c157a [async] update times functions to support promise (#41435)
* [async] update times functions to support promise

* [async] correctly add return type for times func
2020-01-20 19:34:51 -05:00
Carl Egbert e817b08dd4 @types/through: Add missing queue method to through.ThroughStream (#41427)
* Add queue method to through.ThroughStream

* no encoding arg

* formatting

* update tsconfig
2020-01-20 19:33:20 -05:00
Keven Leone b8a774d584 add types for bull-board (#41719)
* add types for bull-board

* version bull-board definition
2020-01-20 19:08:01 -05:00
Waseem Dahman 0e6efc8134 [global-npm] Add types for global-npm (#41705)
* add types for global-npm

* remove reference import
2020-01-20 18:59:45 -05:00
John Hou c16fefbe65 Add typings for the package 'koa-cookie' (#41714)
* Add typings for the package koa-cookie

* format with 4 spaces
2020-01-20 18:56:23 -05:00
Dmitrii 6177b2e997 add types knex-db-manager (#41716) 2020-01-20 18:54:35 -05:00
Jamie Magee 78c13f520c Add types for semver-utils (#41734) 2020-01-20 18:52:31 -05:00
Ranjit Singh b5a1267b5e [mongoose-autopopulate] added new type definitions (#41743) 2020-01-20 18:50:40 -05:00
Richard Haddad 2b3ef8b232 add bresenham types (#41741) 2020-01-20 18:49:32 -05:00
Michaël De Boey e47d9d3d92 [algoliasearch/lite] Update getObject types (#41703)
* Update getObject types

* Update links
2020-01-20 15:43:48 -05:00
David Sommerich 2e3ed02258 aws-lambda: Make ALBResult.body optional (#41700) 2020-01-20 15:41:55 -05:00
AlexReff 0a88aa1d56 [swiper] Add missing controller property to options (#41629)
* Add missing controller property to options

The definition is wrong, needs this added.

* Added boolean type to controller option definition
2020-01-20 15:39:07 -05:00
Maxi Cilauro a18b03e2f9 Update react-tag-autocomplete definitions to 5.12 (#41684) 2020-01-20 15:37:57 -05:00
omjadas b529159e4f update types for Field and Fields (#41727) 2020-01-20 15:36:08 -05:00
Kamil Socha 0ead4f1326 Update json-form-data definitions (#41578) 2020-01-20 15:35:09 -05:00
Alex Hayton 2f807f45fb Added return type to currentUser.subscribeToRoomMultipart (#41708) 2020-01-20 15:32:47 -05:00
Ali Akbar Azizi 37f3bf828e Add dark mode prop (#41726)
Add dark mode prop
2020-01-20 15:30:55 -05:00
Natalie Marleny ddd2e913f6 [@types/fabric] Update types/fabric from fabric v3.5.0 to v3.6 (#41724)
* [fabric] Upgrade the types from fabric v3.5.0 to v3.6.1 (1)

- Add targets property to ICanvasOptions interface

* [fabric] Upgrade the types from fabric v3.5.0 to v3.6.1 (2)

- Update subTargetCheck JSDoc description

* [fabric] Update Definitions by list
2020-01-20 15:30:15 -05:00
Simon Gellis 92ddb1b2b2 Improve types of highland filter and toPromise (#41646)
* Make .toPromise return an instance of the type passed in

* Make filter respect type guards

* Fix toPromise tests for old typescript versions

* Add another test for highland filter
2020-01-20 15:28:41 -05:00
Nasreddine Bac Ali 84f7c15e43 Node os utils 1.2: update types (#41738)
* node-os-utils 1.0: Add types

* apply library file layout

* fix lint errors

* node-os-utils 1.1: Add types

* node-os-utils 1.2: Add types
2020-01-20 15:19:19 -05:00
Kyle Tsang d459d36f4e [reactstrap] Update typings to 8.4 (#41697) 2020-01-17 20:38:09 -05:00
Piotr Błażejewicz (Peter Blazejewicz) a82a5256c9 fix(victory): refine innerRadius definition. Closes #41685 (#41689)
- VictoryPie.innerRadius
https://formidable.com/open-source/victory/docs/victory-pie#innerradius

/cc @mikecsmith

Thanks!
2020-01-17 20:01:51 -05:00
tianlinle 6db567744c cursor of scan can be a string (#41556) 2020-01-17 19:18:44 -05:00
Charles Gagnon 0716b93bc9 [azdata] Add definitions for Azure Data Studio Extension API (#41632)
* Initial commit

* Remove unneeded rule overrides

* Update owner URL

* Use user URLs instead of repo URL

* Undo line length changes
2020-01-17 19:05:51 -05:00
Michael Haglund c3ca7ec691 react-imgix: support data attributes as htmlAttributes (#41696) 2020-01-17 18:35:23 -05:00
Robby Helms 73ed5e28da [parse] Add overload for Parse.Cloud.define (#41695) 2020-01-17 17:59:37 -05:00
Richard Collette 272fd18a51 [@types/leaflet] add attributionControl property to Map class (#41690)
* [@types/leaflet] add attributionControl property to Map class

* [@types/leaflet] unit tests for Map attributionControl property

* fix spelling
2020-01-17 15:26:43 -05:00
Mike Schultz b1513472fb Add types for zingchart (#41348)
* Add types for zingchart

* Adds content header to zingchart

* Fixes typedef extends for lint

* Fixes version, import, and empty jsdoc comments

* Removes last empty jsdoc comment

* Allows values and series types to be arrays

* Fixes values type
2020-01-17 14:48:36 -05:00
Doug Brunner 51f2687641 Add serialport@8 updates (#41576)
Per https://github.com/serialport/node-serialport/blob/master/UPGRADE_GUIDE.md:
* Changed comName to path
* Removed callback to SerialPort.list() (was already absent from BaseBinding.list())
2020-01-17 14:36:47 -05:00
Piotr Błażejewicz (Peter Blazejewicz) a20b572cf4 feat(chart.js): allow to access charts container (#41537)
This allows to access readonly container for charts from global
namespace required in some use-case scenarios.

Thanks!
2020-01-17 14:30:20 -05:00
dwieeb d62fccf391 add superagent-proxy types (#41691) 2020-01-17 14:29:06 -05:00
Adrien Etienne 6d5145eb99 React phone number input (#41668)
* Add types for 'react-phone-number-input'

* Fix types
2020-01-17 14:27:08 -05:00
Elizabeth Craig 4c5d1072a9 Add types for lerna-alias (#41671) 2020-01-17 14:24:46 -05:00
Anton Drobot 71d5b5b1fc [configs-overload]: add configs-overload type defenition (#41682) 2020-01-17 14:23:35 -05:00
Floris de Bijl 314993b4c5 [sharp] update typings to 0.24 (#41683)
* [sharp] update typings to 0.24

* [sharp] make metadata properties optional
2020-01-17 13:53:36 -05:00
Phillip Johnsen 44f3a3f085 [mustache] v4.0.0 updates (#41643)
* [mustache] Add `TemplateCache` and .templateCache introduced in v4.0.0

These changes reflects the template cache customisation introduced in
mustache v4.0.0.

* [mustache] .to_html was removed in v4.0.0
2020-01-17 13:50:37 -05:00
Filip Stanis 3deff5e2c8 [mustache] Add all Writer methods (#41599)
* Add all Writer methods

* tokens is string[][]
2020-01-17 13:49:00 -05:00