Commit Graph
68470 Commits
Author SHA1 Message Date
daboudiianduser b47880401f [@types/ol] Add GeolocationError (#43742)
* Updated BaseEvent from ./ol/events

Fix issue: https://github.com/openlayers/openlayers/issues/10905

* create class GeolocationError to extent BaseEvent

Co-authored-by: user <pro.cyril.antolini@protonmail.com>
2020-04-13 16:54:44 -07:00
Jeff Rooks bf2417889d Add dumpDiffToConsole to MatchImageSnapshotOptions (#43738)
* Add dumpDiffToConsole to MatchImageSnapshotOptions

* Update jest-image-snapshot version reference

* Remove patch version
2020-04-13 16:52:50 -07:00
Peter SiposandPeter Sipos f410f756a0 inline-css: add removeHtmlSelectors option (#43733)
* inline-css: add removeHtmlSelectors option

add missing removeHtmlSelectors option to inline-css type definition

* update dummy read/write test

Co-authored-by: Peter Sipos <>
2020-04-13 16:49:28 -07:00
Danilo Campana Fuchs 2763762469 [styled-components]: Add withConfig method and 5.1 support (#43718) 2020-04-13 16:48:05 -07:00
Jakub Jirutka 0a5d5572b3 [marked] Fix type of parameters href and title - they may be null (#43732)
See the following lines in the Renderer module:

- https://github.com/markedjs/marked/blob/35bcb7d5dba17c80e6227cae951501082ef93629/src/Renderer.js#L136
- https://github.com/markedjs/marked/blob/35bcb7d5dba17c80e6227cae951501082ef93629/src/Renderer.js#L140
- https://github.com/markedjs/marked/blob/35bcb7d5dba17c80e6227cae951501082ef93629/src/Renderer.js#L149
- https://github.com/markedjs/marked/blob/35bcb7d5dba17c80e6227cae951501082ef93629/src/Renderer.js#L154
2020-04-13 16:41:53 -07:00
fnknzzz 285a840c6e Update index.d.ts (#43694)
* Update index.d.ts

* fix: fix lint failure
2020-04-13 16:34:23 -07:00
stuartforrest-infinity 138f15334a [@types/react-native-fbsdk] Add setUserData func and UserData interface typings (#43685)
* add setUserData func typing.
add UserData interface used by setUserData.

* add test

* use an interface
2020-04-13 16:26:09 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 8d4dd52d26 feat(globalyzer): new type definition (#43827)
- type definition
- tests

https://github.com/terkelg/globalyzer#api

Thanks!
2020-04-13 16:21:57 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 621363e730 feat(globrex): new type definition (#43826)
- type definition
- tests

https://github.com/terkelg/globrex#api

Thanks!
2020-04-13 16:20:44 -07:00
Jason KwokandJason Kwok d3164d63b2 [sass-loader] Added type definitions (#43836)
* [sass-loader] Added type definitions

* [sass-loader] Removed files

* [sass-loader] fixed export

Co-authored-by: Jason Kwok <JasonHK@users.noreply.github.com>
2020-04-13 16:18:10 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 6d518e9ae2 feat(twemoji-parser): new type definition (#43842)
- definition file
- tests

https://www.npmjs.com/package/twemoji-parser

Thanks!
2020-04-13 15:36:04 -07:00
newt b4135370af Added timeout definitions. (#43843) 2020-04-13 15:34:31 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 8d4301f28e feat(pretty-quick): new type definition (#43867)
- definition file
- tests

https://www.npmjs.com/package/pretty-quick

Thanks!
2020-04-13 15:31:23 -07:00
Hikiko 1b16fc8837 [vk-openapi] add typings (#43853) 2020-04-13 15:29:46 -07:00
Piotr Błażejewicz (Peter Blazejewicz) a0a52a6a3d feat(pre-suf): new type definition (#43866)
- declaration file
- tests

https://github.com/kaelzhang/node-pre-suf

Thanks!
2020-04-13 15:27:17 -07:00
Elizabeth Samuel 275fd285c4 [office-js] [office-js-preview] (Excel) Add closing backtick (#43874) 2020-04-13 14:33:30 -07:00
Elizabeth Samuel e481c13279 [office-js] [office-js-preview] Remove broken links (#43871) 2020-04-13 14:09:48 -07:00
Elizabeth Samuel c95cc591ce [office-js-preview] (Outlook) Fix broken link (#43869) 2020-04-13 13:55:54 -07:00
Chris Grigg 5c3b82aaf8 yup: add generics to string to support string literal return (#43860) 2020-04-13 13:04:32 -07:00
Naseem eb55031fbd add formatters to pino's LoggerOptions (#43847)
A new option that deprecates other ones, please see https://github.com/pinojs/pino/blob/master/docs/api.md\#formatters-object for more details.

Signed-off-by: Naseem <naseem@transit.app>
2020-04-13 13:03:59 -07:00
Igor Strebezhev 64989f4ed4 Update docs of mongodb BulkWriteResult type (#43855)
* Update docs of mongodb BulkWriteResult type

* Update index.d.ts
2020-04-13 13:03:15 -07:00
bennordgengo 2dd734125b wavesurfer.js add many missing methods in version 3.3 (#43851)
* add types for v3.3.1,  fix alphabetical order

* header remove patch version

* Object to object
2020-04-13 13:02:05 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 0e1b33ddab update(uglfy-js): Minor updates and version bump (#43868)
- bump to version 3.9
- correct options for Minify compress options as it accepts only false
or configuration object as per JSDoc comment
- add JSDoc comments for Minify options
- minor addition to the tests
- remove TS version header line as no longer valid (current defaults to
TS 2.8 or newer)

https://github.com/mishoo/UglifyJS2/releases/tag/v3.9.0

Thanks!
2020-04-13 20:59:04 +01:00
Piotr Błażejewicz (Peter Blazejewicz) c2f36d4a1d update(twemoji): add support for UMD module (#43841)
This is minor change, providing support for UMD module, allowing to use
the definition file directly in other scenarios.

- definition file change with namespace export
- document library export
- split tests for CommonJS and global code tests

Usage is promoted as UMD module via CDN:
https://github.com/twitter/twemoji#cdn-support

Use-case:
- vanilla JS
- TS configured to not emit, check JS for errors:

```js
/// <reference types="twemoji" />

window.addEventListener('DOMContentLoaded', event => {
    const div = document.createElement('div');
    div.textContent = 'I \u2764\uFE0F emoji!';
    document.body.appendChild(div);
    twemoji.parse(document.body);
});
```

Thanks!
2020-04-13 12:10:13 -07:00
kouame komenan 38622803f8 react-simple-maps | Changed ProjectionConfig interface to match the requested props in the react-simple-maps library (#43830)
* Changed ProjectionConfig interface to match the requested prop

* included name
2020-04-13 12:08:25 -07:00
Sankarsan Kampa 7cdf68a2b3 types(discord-rpc): update types for {start,end}Timestamp (#43833)
startTimestamp & endTimestamp supports both Date & number
2020-04-13 12:07:53 -07:00
Basti Ortiz f8797c8d40 [@types/spotify-api]: Add the appropriate descriptions for fields in artist, playlist, and track objects (#43835)
* Format: fix spacing format

* Meta: add name to the contributors list

* Fix: specify the only possible options for album_group and album_type

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#album-object-simplified

* Docs: include official documentation for descriptions in album objects

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#album-object-full

* Meta: include name in the tests file

* Docs: update the `SearchForItemParameterObject` by adding the field `include_external`

Source: https://developer.spotify.com/documentation/web-api/reference/search/search

* Format: fix inconsistent field delimiters

* Docs: include documentation for artist objects

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#artist-object-full

* Docs: include documentation for followers object

This also includes a type fix. Currently, the Web API does not support
the `href` field. It is temporarily there as a placeholder for the
future feature.

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#followers-object

* Docs: include documentation for image objects

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#image-object

* Docs: include documentation for error objects

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#error-object

* Format: remove type definitions to inline them instead

* Docs: include documentation for track objects

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#track-object-full

* Format: remove double quotes from field names

* Fix: make `is_local` an optional field for track objects

* Fix: move `is_local` to definition of only full track objects

* Format: extend similar artist, playlist, and album objects as context objects

* Docs: include documentation for playlists

Source: https://developer.spotify.com/documentation/web-api/reference/object-model/#playlist-object-full
2020-04-13 12:00:19 -07:00
Frédéric Barthelet 491e0d5730 Add ApiGatewayEvent type (#43824) 2020-04-13 11:59:11 -07:00
Jack Bates 0334941669 [jsoneditor] Enable strictNullChecks (#43828) 2020-04-13 11:57:59 -07:00
Olivier Tassinari 8801f8c5a5 [react-window] Fix optional shouldForceUpdate (#43820)
Same patch as https://github.com/bvaughn/react-window/pull/450
2020-04-13 11:56:45 -07:00
zvs001 464b62da87 seamless-immutable. allow immutable instance for merge method (#43808) 2020-04-13 11:54:38 -07:00
jbandjblaise c9f36a9e0c Fix TransformOptions' callback (#43711)
Make it usable in object mode

Co-authored-by: jblaise <8171322+jblaise@users.noreply.github.com>
2020-04-13 11:54:11 -07:00
JounQin ebd96572dd fix: exports of eslint-plugin-prettier changed (#43817) 2020-04-13 11:50:37 -07:00
Yashar MoradiandYashar Moradi f5ad8554cd fix: fixing the types for browse function results (#43795)
* fix: fixing the types for browse function results

* Added the missing reading_time to the PostOrPage type
* Introduces the BrowseResults (an array augmented with metadata)
* Included a Constructor function

BREAKING CHANGE: The following types are remapped as follows:
* `PostObject` --> `PostsOrPages`
* `AuthorsObject` --> `Authors`
* `TagsObject` --> `Tags`
* `Setting` --> `Settings`
* `SettingsObject` --> `SettingsResponse`

Partly inspired by this PR from Oliver Emery <https://github.com/thrymgjol>

* corrected line terminator

* code formatting corrected

Co-authored-by: Yashar Moradi <yashar.moradi@scoperty.de>
2020-04-13 11:49:20 -07:00
r1b add4fc1a34 fix(ws): options is optional on createWebSocketStream (#43784) 2020-04-13 11:47:56 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 558edadd09 update(karma): update version to v5 (#43813)
- v4 backward compatible version created
- minor change for v5 compatiblity (native Promise usage, all other are
minor and are not directly covered in type definition):

https://github.com/karma-runner/karma/compare/v4.4.1...v5.0.0

Thanks!
2020-04-13 11:18:08 -07:00
AlCalzone f13cbb33c6 [iobroker] add user property to state and make val required in setState (#43844) 2020-04-13 11:14:47 -07:00
Rick-Kirkham c7d0c49dbd [office-runtime] remove APIs that were moved to Office namespace or just deprecated (#43861) 2020-04-13 11:05:27 -07:00
Ben Lichtman 72f41db4b4 Remove owner from mongoose-simple-random (#43712) 2020-04-13 10:26:44 -07:00
Aziz Yuldoshev 34698fefff webpack: Add typings for ChunkGroup, and mainTemplate hooks (#43818)
* [webpack] add compilation.addChunkInGroup method

Links:
- https://github.com/webpack/webpack/blob/v4.42.1/lib/Compilation.js#L1485

* [webpack] add mainTemplate.hooks.afterStartup and hashForChunk typings

Links:
- https://github.com/webpack/webpack/blob/v4.42.1/lib/MainTemplate.js#L102
- https://github.com/webpack/webpack/blob/v4.42.1/lib/MainTemplate.js#L127

* [webpack] add compilation.ChunkGroup typings

Links:
- [chunks](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L70)
- [childrenIterable](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L240)
- [parentsIterable](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L281)
- [insertChunk](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L158)
- [getNumberOfChildren](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L236)
- [module index methods](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L456-L492)
- [addChild](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L224)
- [removeChild](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L244)
- [setParents](https://github.com/webpack/webpack/blob/v4.42.1/lib/ChunkGroup.js#L266)
2020-04-12 21:53:43 +01:00
OrtaandNathan Shively-Sanders 72c1e33e13 Improve docs on 'testing' a dt module (#43748)
* Improve docs on 'testing' a dt module

* Duplicate saying how you can test your tests

* Apply suggestions from code review

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Update docs with recommendations

* Apply suggestions from code review

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Changes from reviews and link from the PR template

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-04-11 13:40:47 -04:00
Liam Martens 539042117c Added typing for abs-svg-path (#43807)
* Implemented abs-svg-path typings

* Fixed abs path test

* Fixed ExpectType
2020-04-10 20:26:27 -07:00
Tomasz Pluskiewicz 6ec9e84831 feat: new options for express handler (#43761) 2020-04-10 20:24:08 -07:00
Brandon Waterloo [MSFT] 64968e5677 [@types/dockerode]: add SSH options to DockerOptions interface (#43781)
* Update dockerode-tests.ts

* Update interface and fix test
2020-04-10 20:22:50 -07:00
Maksymilian Chmiel 5e8098e52f [@types/async-lock] Add missing skipQueue attr to the AsyncLockOptions (#43767) 2020-04-10 20:22:25 -07:00
Steven Collins 71f6d8f937 Add asymmetricSign() to @types/google-cloud__kms (#43658)
* Add name to definitions

* Add definitions for asymmetricSign
2020-04-10 20:16:54 -07:00
Jakub Kisielewski 1587514c91 [node-fetch] fix blob() return type (#43803)
* [node-fetch] fix blob() return type

* [node-fetch] add test for response return types

* [node-fetch] add shameless mention of my name
2020-04-10 20:15:31 -07:00
Santiago Kent 363a77c776 [@types/carbon-components-react] Fixed MultiSelect and MultiSelect.Filterable types (#43809)
* [@types/carbon-components-react]Fixed typings for MultiSelect and MultiSelect.Filterable

* Changed placeholder prop to be required
2020-04-10 20:14:54 -07:00
Piotr Błażejewicz (Peter Blazejewicz) ee09e131a2 update(cuss): bump to v 1.19 (#43811)
- Portuguese language added
- tests updated

Thanks!
2020-04-10 20:14:23 -07:00
James BaxterandJames Baxter b48d1c5ab9 added repeat time to react-native-push-notification (#43812)
* added repeat time to react-native-push-notification

* fixed casing

Co-authored-by: James Baxter <james.baxter@hgem.com>
2020-04-10 20:13:54 -07:00