Commit Graph
66410 Commits
Author SHA1 Message Date
AlCalzone e34a477b43 ioBroker: Remove access to the states and objects DB (#41161)
* remove access to adapter.states and adapter.objects

* format with Prettier
2019-12-23 11:32:51 -06:00
Florian Keller 7161baaf3a [jsrsasign] fix definitions link (#41184) 2019-12-23 11:31:27 -06:00
Mario Nebl 82af14cb37 Add isDirectory to resolve options (#41175)
* Add isDirectory to resolve options

* Remove wrong return type

* Extend test case with isDirectory option

* Apply blessed formatting

* Add current resolve version
2019-12-23 11:29:50 -06:00
Antonis Balasas 988582db6a Type corrections for Protoo server (#41129)
* Added definitions for protoo-server

* Converted class to interface for Peer & WebSocketTransport

* Added public properties & methods for WebSocketTransport interface

* Exclude httpServer from the WebSocketServer options

* Use "&" instead of "|" for overloaded functions
2019-12-23 11:26:25 -06:00
Walter Kennedy IV 160b87bfbf [react-datepicker] Update @types/react-datepicker to comply with react-datepicker v2.10 (#41125)
* Update `@types/react-datepicker` to comply with `react-datepicker` `v2.10`

* Update to remove `(...args: any)`
2019-12-23 11:19:10 -06:00
Zachary Dow 162254c14e @Types/Chance CharacterOptions.symbols is wrong type (#41103)
* Changing CharacterOptions Symbol type

Based on the current interpretation of the documentation:
https://chancejs.com/basics/character.html
https://chancejs.com/basics/string.html

* Fixing the tests to reflect type change

* Fixing tests to not fail. "Chance: num is likely too large for sample set" error for uniqInts2. And syllables/length used together throws error. UniqueOptions type for clearer input values

* Refined UniqueOptions type, added contribution. Fixed issue with min/max in test

* Adding in test that uses comparator
2019-12-23 11:18:08 -06:00
DAS REPTIL be7f859c6f add new custom headers to core manager (#41076)
* add new custom headers to core manager

* fix linting issues
2019-12-23 11:13:57 -06:00
2c5a3e4583 [@types/flexmonster] Updates for Flexmonster Pivot Table v2.7.21 (#41073)
* 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

* report object extended with "version" and "creationDate"

* updateData() API call update (added options parameter)

* Added chartclick event

* flatOrder Slice property added

Co-authored-by: Ian Sadovy <ian.sadovy@gmail.com>
Co-authored-by: Iryna Kulchytska <53587950+irakulchytska@users.noreply.github.com>
2019-12-23 10:48:58 -06:00
bookmoons d681769274 Add developer as maintainer (#41070) 2019-12-23 10:47:54 -06:00
Hossein Saniei e19dc99582 feat(@types/mongodb): better support for Schemas with "any" indexed type (#40943) 2019-12-23 10:46:55 -06:00
Will Mendes 55807cad7f feat(resize-observer-browser): updating type definition (#40909)
* feat(resize-observer-browser): updating type definition

* refactor(resize-observer-browser): aapplying minor changes to match specs
2019-12-23 10:38:13 -06:00
Arman 086d4331e2 react-map-gl - Added missing types (#40891)
* Added missing types

Fixed missing types according to https://github.com/uber/react-map-gl/blob/5.1-release/examples/viewport-animation/src/app.js
FlyToInterpolator class was missing it's constructor props and transitionDuration property couldn't have 'auto' value

* Added tests changed types

* Added my name to Definitions by

* Reverted the auto-formatted codes, changed 'type' to 'interface'

* Removed Unnecessary semicolon

* Removed Unnecessary semicolons

* Reverted formatting changes on test file
2019-12-23 10:36:57 -06:00
Xinyan Chen 1638cac672 Upgrade ts definitions to storybookjs/react-inspector v4. (#41066)
* Align ts definitions with code in storybookjs/react-inspector.

* Upgrade version number in header.

* Fix tslint error.
2019-12-23 10:34:37 -06:00
Sarah Dayan b576d4b616 Add missing type information for v3.2 of react-hooks-testing-library (#41028)
* feat: add typing for waitForValueToChange

* chore: add attribution and update version

* feat: add typing for wait method

* fix: remove disallowed path version

* fix: add missing generic name

* fix: add missing generic name

* fix: remove generic considered unnecessary

* fix: add missing WaitOptions in waitForNextUpdate
2019-12-23 10:32:53 -06:00
Dmitry Demensky 93901a2c0d [googlemaps] improve map types & docs (#41044)
* Add `MVCEventHandler` alias

* Fix & specify type of `mapDiv`

[`mapDiv`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.constructor) is not nullable.

* Add the missing [`getClickableIcons`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.getClickableIcons) method

* Fix [`setStreetView`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.setStreetView) nullable argument

* Specify types of events

* Add blank line between fields

* Add JSDoc

* Update typescript

* Fix googlemaps-tests

* Fix load-google-maps-api-tests

* Update load-google-maps-api typescript

* Fix load-google-maps-api-tests
2019-12-23 10:30:58 -06:00
Tomasz Pluskiewicz cc23ed1761 fix: align callback functions of dataset with spec (#40989)
* fix: align callback functions of dataset with spec

* reduce clutter in rdf-js tests
2019-12-23 10:26:29 -06:00
Matteo Frana 7b2a852371 react-query: updated QueryOptions definitions (#41208)
* QueryOptions: added refetchIntervalInBackground, refetchOnWindowFocus, initialData

* Removed extra space

* Removed patch version number

* Fixed initialData optional and of type TResult
2019-12-23 10:25:06 -06:00
Adam 924bcd457f [newman] Adding missing fields to NewmanRunFailure. (#41033)
* Adding missing fields to NewmanRunFailure.

* Fixing reviewer issues.

* Fixing test file.
2019-12-23 10:23:33 -06:00
Simon Schick c47a34ead1 feat(node): v13 (#40927)
* feat(node): v13

* feat(node): v13.2
2019-12-23 10:17:12 -06:00
Tim Perry d7fbc2e837 Add onBeforeCapture to React-Beautiful-DnD (#41131) 2019-12-23 10:14:59 -06:00
Nicholas Morsman 6bd34e594d acme-client: Remove types as they are now provided by the package (#41146) 2019-12-23 10:14:13 -06:00
Gavin Nitta e31707d756 feat(googlemaps): Update types to v3.39 (#41147) 2019-12-23 10:13:14 -06:00
Dasa Paddock 1da2c7416a Update for ArcGIS API for JavaScript version 4.14 (#41153) 2019-12-23 10:12:13 -06:00
Dasa Paddock c2ab14b6e4 Update for ArcGIS API for JavaScript version 3.31 (#41150) 2019-12-23 10:10:06 -06:00
Nathan Rajlich 1d9e9b1590 [@types/node] Add missing method property to http.ClientRequest (#41029)
* [@types/node] Add missing `method` property to `http.ClientRequest`

* Test `req.method`

* Move above `path`

Because it gets set in that order in the source code.

* [@types/node] Remove `readonly` from `http.ClientRequest`

There is nothing in the source code that prevents this property
from being overwritten, and user code and/or modules may change
this property before flushing the HTTP header.

* Add test

* Add to v10

* Add `req.method` to v10 types

* Fix v10 types
2019-12-23 10:08:32 -06:00
Ciaran Downey 46370cf94a Fix node/crypto.verify return type to boolean from Buffer (#41170) 2019-12-23 10:06:45 -06:00
Simon Gellis 2507ca8b9a Improve types of highland sequence/series/flatten (#41053)
The sequence and series methods now work on streams-of-arrays as well.
Flatten now has an accurate return type.
2019-12-23 10:04:33 -06:00
Piotr Błażejewicz (Peter Blazejewicz) 07fcb1bd3d feat(pg): rework constructor documentation. Closes #41167 (#41174)
- remove outdated comment
- add link to the documentation
- update test with parameterless ctor

Thanks!
2019-12-23 10:02:41 -06:00
Thomas Deinhamer 8a0e74bb2f Add esModule to the plugin options interface of mini-css-extract-plugin (#41185)
* Add esModule to the plugin options interface

* Fix jsdoc indentation
2019-12-23 10:00:29 -06:00
Eugeny Schibrikov da9a21ba57 [pg] Updated Client and Pool config types according to docs (#40728)
* Fixed Client and Pool config types for pg

* Add ConnectionConfig alias
2019-12-23 09:58:33 -06:00
Chris Doble 51c0be8d2d blueimp-load-image: Add Event to LoadImageCallback argument (#41197) 2019-12-23 09:54:26 -06:00
Adam Osiecki 4e11af6873 [jsforce] Adds 'numberRecordsProcessed', 'numberRecordsFailed', 'totalProcessingTime' properties to BatchInfo. (#41192)
* Adds 'numberRecordsProcessed', 'numberRecordsFailed', 'totalProcessingTime' properties to BatchInfo.

* proper type of data should be string
2019-12-23 09:52:22 -06:00
Brad Zacher cdecf024d7 [esquery] use discriminated union for selector (#41201) 2019-12-23 09:51:01 -06:00
Nubami SQReder a2fb19e08d [jest-image-snapshot] Fix string not assignable to customSnapshotIdentifier fields in MatchImageSnapshotOptions (#41118) 2019-12-23 09:48:30 -06:00
Valentin Tolochko 57bd61b26b [react-native] adds StyleSheet.compose definition (#40950)
* [react-native] adds StyleSheet.compose definition

* [react-native] updates StyleSheet.compose definition

* [react-native] updates StyleSheet.compose tests
2019-12-23 13:02:23 +01:00
Kohei Matsubara e49de35470 [react-breadcrumbs] fix: add missing 'separator' property to Breadcrumbs (#41141)
ref: https://github.com/svenanders/react-breadcrumbs/blob/v2.1.6/src/breadcrumbs.jsx#L16-L33
2019-12-21 18:25:53 -08:00
Krzysiek MadejskiandJeroen Claassens a98cca85b0 Mui datatables@2.12 (#40941)
* mui-datatables, add filterType as column option, add missing field on TableState, ask what are sorting options?

* Update tests

* resolve definitions of TODO

* Use Array<>

* remove TODO

Co-Authored-By: Jeroen Claassens <jeroen.claassens@live.nl>

* Remove TODO

* Remove duplicate

Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
2019-12-20 13:05:19 -08:00
Nathan Shively-Sanders c89d93690f Update jest-axe tests for new axe-core version (#41169)
I just fixed the type error; the actual value, `[]` is not valid at
runtime because it is supposed to contain a list of rules. But the
jest-axe test doesn't have any rules either. So the test is already
invalid at runtime.
2019-12-20 09:11:05 -08:00
mtgto 4cfb86eef6 sqlite3: add interrupt method (#40747) 2019-12-19 23:03:41 -08:00
CatGuardian fee3cc4749 Fixed incorrect callback signature (#40954) 2019-12-19 22:59:54 -08:00
Jesse Weinstein 51907a39f8 Leaflet.markercluster: Add option param to zoomToBounds (#40981)
* Add option param to zoomToBounds

This was added here: https://github.com/Leaflet/Leaflet.markercluster/commit/97c3bb09328d496f9b2914a9eb968e36e46b9ed6

* Test argument to zoomToBounds
2019-12-19 22:58:53 -08:00
Alex Hayton a449dd06c7 Added @pusher/chatkit-client (#40980)
* Added pusher chatkit client

* Fix lint issues

* Fix tsconfig.json

* Fix lint
2019-12-19 22:57:45 -08:00
Adam Bergman 08c1f18272 Add types for strman (#40979)
* Initialize module

* Add types for all exported methods

* Add tests for all exported methods
2019-12-19 22:56:29 -08:00
Tieu Philippe KHIM 487ed3b63e feat: add tz field on node-schedule (#40919) 2019-12-19 22:55:25 -08:00
Colin Cummings 6001bbab25 optional hoisted field styles; paypal promises (#40926) 2019-12-19 22:54:58 -08:00
Artur e3e59c5d4e [@types/favicons]: add missing options (#40920) 2019-12-19 22:53:31 -08:00
Emily Marigold Klassen 8be221da22 Add to-json-schema types (#40959) 2019-12-19 22:52:37 -08:00
Alex Nault 9ed34fd14f [@types/slate-plain-serializer] Add delimiter option (#40992)
* Add delimiter option to slate-plain-serializer

* Fix semicolon separator

* Removed patch version
2019-12-19 22:51:28 -08:00
Michael Solomon e3dcd315c7 Remove the need for cast (#40988)
With the current order, I have to cast to unknown and then to `Promise<any>`
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig): Promise<any> {
    return (this.client.set(key, value, options) as unknown) as Promise<any>;
  }
```

With the new order I can just do:
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig) { // returns type is Promise<any>
    return (this.client.set(key, value, options);
  }
```

and
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig) { // returns type is void
    return (this.client.set(key, value, options, ()=> {});
  }
```
2019-12-19 22:50:39 -08:00
Christophe Hurpeau 728ea104dd [react-dev-utils] add evalSourceMapMiddleware (#41047)
* [react-dev-utils] add evalSourceMapMiddleware

* refactor: rename to .d.ts

* style: revert tsconfig changes
2019-12-19 22:49:22 -08:00