Commit Graph

68098 Commits

Author SHA1 Message Date
Phil Cole
52c902706e Webresources and Iframes have getContentWindow method (#43449)
Co-authored-by: Phil Cole <pcole@ebecs.com>
2020-03-30 16:49:08 -07:00
Kyle Chisholm
191c20e649 Replace method generic type to for request and response data (#43463) 2020-03-30 16:47:52 -07:00
Caleb Sander
dc24764d2b Add inherited stream events to Read/WriteStream (#43474)
This will allow typechecking and autocompletion for events
inherited from stream.Readable and stream.Writable.

Also add missing 'ready' event and `pending` field from Node 9 and 11, respectively.
And missing 'pause' and 'resume' events on stream.Readable.
2020-03-30 16:47:16 -07:00
Evan Purkhiser
1ed6fe521f fix(moo): Add missing Lexer methods (#43477) 2020-03-30 15:54:10 -07:00
Martin
41315ef7af [chart.js] Add return type null to NestedTickOptions callback (#43143)
* [chart.js] Add return type null to NestedTickOptions callback

* [chart.js] Add undefined as callback return value
2020-03-30 15:53:18 -07:00
Jens Claes
7e081dcef7 [node] Add aborted to http.IncomingMessage (#43379)
* Add aborted to http.IncomingMessage

https://nodejs.org/api/http.html#http_message_aborted

* Update http.d.ts

* Update node v10
2020-03-30 15:49:35 -07:00
Philipp Katz
d2402648e0 email-templates: add renderAll, make locals optional, send returns a Promise (#43479)
* email-templates: add `renderAll` function

https://github.com/niftylettuce/email-templates#render-html-andor-text
af01d14fef/src/index.js (L186)

* Make `locals` param optional

af01d14fef/src/index.js (L135)

* Add `EmailMessage`

af01d14fef/src/index.js (L186)

* Mention myself

* `send` returns a `Promise`
2020-03-30 15:48:38 -07:00
Linus Unnebäck
b4c23f0e86 [mime-db] Add exported object (#43066)
* [mime-db] Add exported object

* Use module import style
2020-03-30 15:40:00 -07:00
Rory King
8779cbaf8b [@types/webpack] Add system libraryTarget (#43491) 2020-03-30 15:35:46 -07:00
Andre Fonseca
80f219d5ae [mapbox-gl] Add missing properties for layer types (#43385)
* extract paint property type to a named type

* add missing properties to some layer subtypes

* adds tests for every layout and paint option
2020-03-30 15:35:01 -07:00
Joep Kockelkorn
910163516f Update jsoneditor types to 8.6.3 (#43476)
* chore: fix lint errors and add myself as writer

* feat(jsoneditor): update types partly

* feat(jsoneditor): finish up

* feat(jsoneditor-for-react): up version

* chore: consolidate versions for jesoneditor

* chore: add myself as contributor

Co-authored-by: Joep Kockelkorn <joep.kockelkorn@engie.com>
2020-03-30 15:24:50 -07:00
Igor Oleinikov
2ea0ccd01f [react-query] Update API to 1.10.0 (#43438)
* [react-query] Update API to 1.10.0
- breaking changes

* Make use of extra variables
* Fixing lint errors
* Complete useInfiniteQuery
* Add global config
* Add queryCache
* Allow keys and variables with infinite tails
* Add discriminated unions for base and paginated queries
* Discriminated union for mutation result
* Require first key element to be a string subtype
2020-03-30 15:23:50 -07:00
Simon Hanna
21c3e41669 Fix MakeDirectoryOptions for node 12 (#43352)
* Fix MakeDirectoryOptions for node 12

* Update MakeDirectoryOptions for node:13

* Update MakeDirectoryOptions for node:11
2020-03-30 15:21:13 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
d853828f50 feat(karma): update constants export details (#42992)
* feat(karma): update constants export details

- move Constatns to separate file
- export as named re-export from main module
- add missing type for 'PORT' - should be `number` OR `string` depending
on the source of this contant. If read from ENV it will be a string
always.
- add missing documentation
- move LOG types to use string literal types to use in the values in
typechecks and intelllisense
- tests updated

https://github.com/karma-runner/karma/blob/master/lib/constants.js

Thanks!

* Resolve pull request comments:

- constants import changed
- re-export redefined
- contants module reshape to comply with native module details.

Using namespace import and named import for constant required TSLint
config update to allow named imports:
see: palantir/tslint#4524

/cc @43081j

Thanks!

* Refine import details as per PR comment

/cc @43081j
2020-03-30 15:14:25 -07:00
Jack Bates
33e0ecb3c1 [daterangepicker] Enable noImplicitThis (#42903) 2020-03-30 15:12:03 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
8d8f42c838 update(autoprefixer): add browsers and prefixes modules (#43462)
As already used in the stylelint project:
https://github.com/stylelint/stylelint/blob/master/types/autoprefixer/index.d.ts

- add `lib/browsers` and `lib/prefixes`
- update tests

https://github.com/postcss/autoprefixer/blob/master/lib/browsers.js
https://github.com/postcss/autoprefixer/blob/master/lib/prefixes.js

Thanks!
2020-03-30 15:11:21 -07:00
Tomasz Pluskiewicz
21b410c313 big refactoring of clownface (#43464)
* fix(clownface): correct the use of generics

* avoid common mistakes

* rafactor(clownface): remove duplicate interface declarations
2020-03-30 15:08:41 -07:00
Joey Rafidi
174534f0fc [cesium] add scene height sample methods and entity tileset graphics option (#43494)
* [cesium] add scene height sample methods and entity tileset graphics option

* Fix tests
2020-03-30 15:01:16 -07:00
Alex Jerabek
ced96117ff [office-js, office-js-preview] Note about suspendScreenUpdatingUntilNextSync behavior (#43493)
* Removing prompt verbage from selection binding options

* Note about suspendScreenUpdatingUntilNextSync behavior
2020-03-30 12:17:48 -07:00
Simon Knott
c03bbb7743 Remove myself from Maintainers list (#43490)
Since I don't work with RN anymore, maintaining this definitions is out of scope right now.
2020-03-30 17:31:16 +02:00
John Detlefs
a75f3d3a49 MUI-Datatables: Update to let text labels and download options to be partials. (#43183)
* Update to let text labels be optional.

* Make download options partial.

* Revert some of the autoformatting issues.

* Update types/mui-datatables/index.d.ts

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

Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
2020-03-30 08:58:39 -04:00
Dion Shi
7caeca4bfb Update webpack ProgressPlugin definition, to support both object/function options (#43375)
* Update webpack ProgressPlugin definition, to support both options of object and function.

* Re-order webpack.ProgressPlugin parameter ordering to trigger CI.

* Tune webpack ProgressPlugin definition for current v4 version, and also add comments.

* Fix webpack ProgressPlugin default value comment for current v4 version, and also update handler function interface according to official document.
2020-03-29 14:03:30 +01:00
Jack Works
f385d82f5a feat: add slot element for jsx (#43237)
Co-authored-by: Orta Therox <orta.therox@gmail.com>
2020-03-28 11:52:59 -07:00
Kristiāns Salna
fa37888d9b Additional sumo-logger definitions. (#43415) 2020-03-28 11:52:14 -07:00
Adam Montgomery
7d7387e5a3 correct isSupported type (#43419)
it’s not actually a function, it’s a boolean property
2020-03-28 11:51:29 -07:00
James C. Davis
687d92d01f Ensure all members of the typed-ember team are authors on ember* type defs (#43429)
* chore: add @jamescdavis and @dfreeman to ember

* chore: add @jamescdavis and @dfreeman to ember-data

* chore: add @dfreeman, @chriskrycho, @jamescdavis to ember-feature-flags

* chore: add @dfreeman, @chriskrycho, @jamescdavis to ember-mocha

* chore: add @dfreeman, @chriskrycho, @jamescdavis to ember-modal-dialog

* chore: add @chriskrycho and @jamescdavis to ember-qunit

* chore: add @chriskrycho and @jamescdavis to ember-resolver

* chore: add @dfreeman, @chriskrycho, @jamescdavis to ember-test-helpers

* chore: add @dfreeman, @jamescdavis, @mike-north to ember-testing-helpers

* chore: update github url for @chriskrycho

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__application

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__array

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__component

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__controller

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__debug

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__engine

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__error

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__object

* chore: add @mike-north, @dfreeman, @jamescdavis to ember__ordered-set

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__polyfills

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__runloop

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__service

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__string

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__template

* chore: add @chriskrycho to ember__test-helpers

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__test

* chore: add @chriskrycho, @dfreeman, @jamescdavis to ember__utils
2020-03-28 11:50:24 -07:00
TypeScript Bot
8bf8aedba7 Update CODEOWNERS (#43418)
Co-authored-by: TypeScript Bot <types@microsoft.com>
2020-03-27 16:54:17 -07:00
Elizabeth Samuel
3f693c0f83 [office-js-preview] (Outlook) Update descriptions of AppointmentSensi… (#43424)
* [office-js-preview] (Outlook) Update descriptions of AppointmentSensitivityType

* Update based on feedback
2020-03-27 14:14:55 -07:00
Eloy Durán
1e63996a10 [react-native] Prepare for 0.62 (#43179)
* Feature: unstable_enableLogBox function at 0.62

* [@types/react-native] Add Appearance namespace for new api from v0.62.x

* feat: add typing for useColorScheme hook

* Add type for fadingEdgeLength prop

This adds the types for FlatList and ScrollView on Android

* [react-native] Introduce HostComponent

* [react-native] Make useNativeDriver parameter required

* d123bea8c1
* 5876052615

* feat: add typings for A11yValue in RN

* [react-native] Import v0.61 typings

* [react-native] Run prettier

* [react-native] Try fixing v0.61 on CI

* [react-native] Defer v0.61 typings to next iteration

Co-authored-by: Shinpei <react-native@kakao.com>
Co-authored-by: Jérémy Barbet <jeremgraph@gmail.com>
Co-authored-by: André Krüger <andre.krueger.developer@gmail.com>
Co-authored-by: Kacper Wiszczuk <kacperwiszczuk@gmail.com>
2020-03-27 13:41:12 -04:00
Tomasz Pluskiewicz
ea2c63dc94 matchdep (#43094) 2020-03-27 13:30:17 -04:00
Tomasz Pluskiewicz
48f8cf6bd1 added @rdfjs/term-set (#43077) 2020-03-27 13:28:46 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
2c93e77f3a update(webpackbar): update to v4.0 (#43075)
- v2 bacward compatibility
- v4 API changes
- tests updates

https://github.com/nuxt/webpackbar#readme
https://github.com/nuxt/webpackbar#options

Thanks!
2020-03-27 13:24:21 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
fe0fce11ec feat(progress-bar-webpack-plugin): new type definition (#43069)
- definition file
- tests

https://github.com/clessg/progress-bar-webpack-plugin#readme
https://github.com/clessg/progress-bar-webpack-plugin#options

Thanks!
2020-03-27 13:21:49 -04:00
Luke Bennett
0f432e3ad0 Add Node#id (#42893)
Add @types/graphviz Node#id

https://github.com/glejeune/node-graphviz/blob/eccd103/lib/deps/node.js#L17
2020-03-27 13:18:41 -04:00
Zac
a844d96c97 [callback-to-async-iterator]: Add Types (#43061)
* Initial attempt

* Add type tests

* Formatting

Co-authored-by: Zachary Svoboda <svobodaz@orvis.com>
2020-03-27 13:17:18 -04:00
Adam Zerella
83e40f8eb3 Add typing for pa11y (#43060)
Co-authored-by: Adam Zerella <adamzerella@users.noreply.github.com>
2020-03-27 13:13:46 -04:00
Adam Zerella
5ed7a06ce8 Add typing for "skmeans" (#43059)
Co-authored-by: Adam Zerella <adamzerella@users.noreply.github.com>
2020-03-27 13:13:08 -04:00
Harald Friessnegger
234b6171fc react-cropper: support ref prop created with useRef hook (#42801)
* support useRef hook

allows to also pass refs created with the `useRef` hook. see https://github.com/roadmanfong/react-cropper/issues/134#issuecomment-593984770

* use same cropperjs version as current react-cropper release

* update interface def and tests
2020-03-27 13:12:34 -04:00
David Ye
15b7f25a65 Add property length to SortedSet (#42872)
The SortedSet [documentation](https://www.collectionsjs.com/sorted-set) indicates that it has a property `length`.
2020-03-27 13:10:04 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
631ce47c56 feat(karma-jasmine-spec-tags): new types defintion for v1.2 (#43051)
- definition file
- tests

https://github.com/mnasyrov/karma-jasmine-spec-tags#readme

Thanks!
2020-03-27 13:09:38 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
4fce93531e feat(karma-brief-reporter): new type definition for v0.2 (#43053)
- definition file
- tests

https://github.com/prantlf/karma-brief-reporter#readme
https://github.com/prantlf/karma-brief-reporter#options

Thanks!
2020-03-27 13:09:16 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
ffa65b1173 feat(karma-summary-reporter): new type definition for v1.7 (#43050)
- definition file
- tests

https://github.com/sth/karma-summary-reporter#readme

Thanks!
2020-03-27 13:08:57 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
62f1cec801 fix(bootstrap): add missing properties for v4.3 (#42867)
- `ride` option for Carousel:
https://getbootstrap.com/docs/4.4/components/carousel/#carouseloptions
- `popperConfig` option for Tooltip (Popover):
https://getbootstrap.com/docs/4.4/components/popovers/#options
- `hidePrevented` event for Modal:
https://getbootstrap.com/docs/4.4/components/modal/#events

Thanks!
2020-03-27 13:08:44 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
418fbfd443 feat(karma-jsdom-launcher): new type definition package (#43031)
- type definition
- tests

https://github.com/badeball/karma-jsdom-launcher#readme

Thanks!
2020-03-27 13:08:22 -04:00
Elizabeth Samuel
40e033c885 [office-js-preview] (Outlook) Tweak calendar descriptions (#43420) 2020-03-27 10:04:31 -07:00
Konstantin
cc362a05d2 Add typings for Infobip Mobile Messaging Cordova SDK (#43038)
* Add typings for Infobip Mobile Messaging Cordova SDK

* Remove unused import

Co-authored-by: Konstantin Latypov <Konstantin.Latypov@infobip.com>
2020-03-27 12:43:18 -04:00
didinele
04e95f9b8a [@types/node] Add worker.SHARE_ENV & WorkerOptions.env (#43394) 2020-03-27 12:05:56 -04:00
Abhijith Vijayan
326d3f6cb2 fix: set return type to Promise<any> for prepareMiddleware (#43292) 2020-03-27 12:05:28 -04:00
Sébastien
02fa0bd7ee update(carbon-components-react) Bumped to carbon 10.7 + added missing types (#43392)
* Bumped to carbon 10.7 + added missing types

* onAddFile is optionnal

Co-authored-by: Sebastien GREGOIRE <sebastien.gregoire@ibm.com>
2020-03-27 12:04:43 -04:00
Aleksandr Petrov
82c9d545db [blueimp-load-image] Fix CropOptions misprint (#43390) 2020-03-27 12:03:58 -04:00