Commit Graph

82135 Commits

Author SHA1 Message Date
Dimitri B
c72f4bbc15 🤖 Merge PR #62937 [is-semver] Add types by @BendingBender 2022-10-27 23:39:07 -07:00
coder_Q
fe7d7cf8b5 🤖 Merge PR #62922 fix: update body type, fix #62921 by @PlayGuitar-CoderQ 2022-10-27 18:42:52 -07:00
Linda_pp
d8b771382a 🤖 Merge PR #62625 twitter-text: Add several missing APIs and tests for them by @rhysd 2022-10-27 18:26:27 -07:00
Valentin Morlock
0c1b99ff07 🤖 Merge PR #62940 relay-runtime: Add types for readUpdatableFragment_EXPERIMENTAL by @v-morlock
* Add type for readUpdatableFragment_EXPERIMENTAL

* Add tests for readUpdatableFragment_EXPERIMENTAL

* Fix lint

* Format

* Reset import block
2022-10-27 17:48:42 -07:00
Florian Imdahl
8ee037e8c7 🤖 Merge PR #62931 [package-info] Remove package by @ffflorian 2022-10-27 12:35:55 -07:00
Nathan Walters
02e6d6cc6d 🤖 Merge PR #62861 [dockerode] Improve types for Container#logs() by @nwalters512
* [dockerode] Allow until in Container#logs()

* Fix return types for Container#logs()

* Allow since and until to be strings
2022-10-27 12:18:56 -07:00
Dimitri B
f17e6efda2 🤖 Merge PR #62923 [toidentifier] Add types by @BendingBender 2022-10-27 11:59:02 -07:00
Linda_pp
84c35a3194 🤖 Merge PR #62891 [mousetrap] Return type of callback should be void by @rhysd 2022-10-27 11:37:31 -07:00
Sam Ramon
c1208d1beb 🤖 Merge PR #62917 [office-js][office-js-preview] (Outlook) Update ExternalUser recipient type description by @samantharamon
* Clarify ExternalUser recipient type description

* Clarify wording

* Apply suggestion from review
2022-10-27 10:37:27 -07:00
Kristófer Reykjalín
633d62725c 🤖 Merge PR #62918 [nova-editor-node] Add missing thisValue to Configuration.observe function signature by @reykjalin 2022-10-27 10:16:00 -07:00
Elizabeth Samuel
fb20bf64c5 [office-js] [office-js-preview] (OfficeExtension) Update ErrorCodes description (#62915) 2022-10-27 07:47:48 -07:00
mfedderly
5ce9e7e6b7 🤖 Merge PR #62913 Add unsigned array types to ArrayType options by @mfedderly
Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2022-10-27 04:59:57 -07:00
Bruno Crosier
6ca99826a8 React: getModifierState(key) (#62521) 2022-10-27 13:00:26 +02:00
Adam Thompson-Sharpe
b30b1cea97 [aria-query] Fix typo in ARIARoleDefinitionKey (#62916) 2022-10-27 12:59:39 +02:00
Brett Willis
d0244641c1 🤖 Merge PR #62862 Safer types for http-errors by @brettwillis
* Remove index signature

Make "new" operator optional
Make CreateHttpError accept zero arguments

* Update version header to 2.0

Version 2.0.0 now only accepts the status code from the first argument

* Number argument can only be the first argument

UnorderedCollection renamed to TooEarly

* Update index.d.ts
2022-10-26 22:14:35 -07:00
Buggy
527ba55b07 🤖 Merge PR #62616 [ali-app]: update media image api by @op-buggy
Co-authored-by: 二助 <chenyuanhui.cyh@alibaba-inc.com>
2022-10-26 20:02:40 -07:00
Pirasis Leelatanon
76f16cac66 🤖 Merge PR #62900 [react-pdf] add new props for Document by @1pete 2022-10-26 16:16:02 -07:00
James Garbutt
bf08dbc72a 🤖 Merge PR #62888 chore (prosemirror): remove all redundant prosemirror types by @43081j 2022-10-26 15:34:06 -07:00
Jake Bailey
aab5ccd06a Remove ioredis; upstream has types (#62883) 2022-10-26 15:19:03 -07:00
Jonathan McIntyre
4754c3f33b 🤖 Merge PR #62910 plotly.js Add legend attributes by @JonathanMcIntyre 2022-10-26 14:19:31 -07:00
Nathan Shively-Sanders
aa5e9e6f29 Update dom-webcodecs for TS 4.9 RC (#62908)
* Update dom-webcodecs for TS 4.9 RC

Four properties now allow `null` in addition to `undefined`.

* Add minimum-version of 4.9

* Update dom-webcodecs dependent
2022-10-26 13:56:39 -07:00
Nathan Shively-Sanders
41378c2471 Update node for 4.9 RC (#62909)
This includes node v18, even though there is a workaround in place.
It could be that the workaround is no longer needed for 4.9.
2022-10-26 13:28:45 -07:00
Keith Kirton
66e8fbfa63 🤖 Merge PR #62898 @types/chrome | Add identity.email manifest permission by @bkrypt 2022-10-26 13:23:47 -07:00
Bram Gotink
0e4ed59798 🤖 Merge PR #62912 [semver] accept RangeOptions in Range constructor by @bgotink 2022-10-26 12:54:31 -07:00
Josh Kelley
a2edd4ad86 🤖 Merge PR #62853 Update type definitions for @hapi/cookie 12.x by @joshkel
This does not yet appear to be documented on https://hapi.dev/module/cookie/, but it is live on NPM. Updates to type definitions are taken from https://github.com/hapijs/cookie/compare/v11.0.2...v12.0.0.
2022-10-26 11:21:09 -07:00
prateekgajre
07461c147e 🤖 Merge PR #62812 update types/hapi/Catbox-memory types as per catbox-memory package by @prateekgajre
Co-authored-by: p0g04gz <prateek.gajre@walmart.com>
2022-10-26 11:16:17 -07:00
Nick Epps
1763bb7e4e 🤖 Merge PR #62866 created type file for Noteflight client API by @nickslick03
* created type file for noteflight-client API.

* NoteflightEvent combines several interfaces

* deleted include in tsconfig

* added files to tsconfig.json

* remove syntheticImports on tsconfig

* set npm naming to false

* ran prettier
2022-10-26 11:00:42 -07:00
ghybs
f7fd037398 🤖 Merge PR #62614 feat(meteor-synced-cron): add config method and persist option by @ghybs
* feat(meteorSyncedCron): add persist addOption

* test(meteorSyncedCron): add case persist option

* test(meteorSyncedCron): use $ExpectType directive

* feat(meteorSyncedCron): add config method

* test(meteorSyncedCron): add cases config
2022-10-26 10:34:40 -07:00
Joe Lencioni
c0caa95417 🤖 Merge PR #62760 [debounce-promise] Allow wait to accept a function by @lencioni
This is documented as a feature supported by the debounce-promise API:

> Supports passing a function as the `wait` parameter, which provides a
> way to lazily or dynamically define a wait timeout.

https://github.com/bjoerge/debounce-promise#api

To confirm, we can see in the code that `wait` can be a function here:

https://github.com/bjoerge/debounce-promise/blob/d85e8d12/index.js#L55-L57

Finally, we can see that this functionality is verified by a test:

https://github.com/bjoerge/debounce-promise/blob/d85e8d12/test/index.js#L67-L82
2022-10-26 09:14:51 -07:00
James R T
526dbe711b 🤖 Merge PR #62850 [roslib] Add v1.3.0 new type definitions and align docstrings by @jamestiotio
* [roslib] Add type definitions and align docstrings

* [roslib] Add linter suggestions and fix tests

* [roslib] Add missing semicolon to roslib-tests.ts

* [roslib] Add suggested changes

* [roslib] Set unified-signatures to false in tslint.json

* [roslib] Remove erroneous whitespace

* [roslib] Ignore unified-signatures rule only for getNodeDetails

* [roslib] Fix tslint for getNodeDetails
2022-10-26 07:34:11 -07:00
Fabian Meyer
68688f3ec0 🤖 Merge PR #62679 [node] Bring in v16.18.0 additions (setMaxIdleHTTPParsers, localFamily) by @meyfa
This patch adds the `http.setMaxIdleHTTPParsers` function and the
`localFamily` property on `net.Socket`. These also exist in Node 18.8.0
and were backported to 16.x just now. I updated `v16/index.d.ts` to
reflect the Node.js version for these methods.

Node.js 16.18.0 also added methods to `assert.CallTracker`, but these
are part of a different PR to simplify the reviewing process: #62678.
2022-10-26 05:12:54 -07:00
elenagolovko
c0397dffaf 🤖 Merge PR #62735 Minor validators update for ember-changeset-validations by @elenagolovko
* Add types for ember-modal-service and ember-task-scheduler

* Updating types for ember-modal-service and ember-task-resolver

* Updating model

* Minor fix for ember-modal-service types

* Minor fix for ember-modal-service types

* Updating model type

* Add types for ember-changeset-validations

* fix any

* Updating types for ember-modal-service for 2.7

* review fixes

* remove unnecessary file

* minor validators update for ember-changeset-validations

Co-authored-by: golovkoe <golovkoe@ae.com>
2022-10-26 02:49:45 -07:00
egrimstad
18931e4bc3 🤖 Merge PR #62805 [@types/dc] Fix how exceptions are exported, and add missing method by @egrimstad
* [@types/dc] Update typings of dc exceptions

* [@types/dc] Add missing method to BaseMixin

* [@types/dc] Add dc version in index.d.ts header

* Update types/dc/index.d.ts

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2022-10-26 01:45:09 -07:00
Shahin Sorkh
ca12232ee3 🤖 Merge PR #62845 add dayjs-recur by @ShahinSorkh
* add dayjs-recur

* update index.d.ts to pass ci

* maybe fixed

* fix sho jone madaret

* fix sho torokhoda

* fix please
2022-10-26 01:42:58 -07:00
Ezio Auditore
a1724cad5a 🤖 Merge PR #62868 Feat: Create the type file for @nkzq/copy-paste. by @sfilata
* Feat: Create the type file for @nkzq/copy-paste.

* Update types/nkzq__copy-paste/nkzq__copy-paste-tests.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Fix: Fix the PR review problem.

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2022-10-25 21:40:43 -07:00
Rob
33b7aedcb3 🤖 Merge PR #62893 Add types for jira2slack by @Mctalian 2022-10-25 21:21:21 -07:00
Wei-Fan Chen
61444be1f8 🤖 Merge PR #62843 Remove pollyjs package by @taco-chen
* Remove pollyjs package

* change ts version
2022-10-25 20:40:22 -07:00
lasabahebwa
8175c724e1 🤖 Merge PR #62889 Add stacked attribute to graphset by @lasabahebwa
* 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

* ZingChart type updates

* Added d.ts file for zingchart/es6 and applied fixes

* Move definitions in es6/index and reference in index.d.ts

* Update test to include added attributes

* Add .d.ts for ZingChart NodeJS build

* Apply fixes after running "npm test"

* Add additional test using NodeJS d.ts

* Included new files into  in tsconfig

* Fix JSON format for tsconfig

* Rewrite .d.ts for NodeJS build and combine tests into one file

* Only list one d.ts in tsconfig and reference NodeJS d.ts in test

* Provide default exports

* Update to include default exports

* Update test to try default import

* Allow default export and fix exports for each version (originally assumed exports were the same)

* use nodejs version in test because required to use file

* Fix whitespace error in test

* Update test to include testing default import

* Fixed zingchart/index.dts based on reviewers notes

* Update tslint.json to remove rules no longer needed

* Corrections to TDF relating to plot and legend

* Asterisk fix

* update(zingchart): Add def for plot.tooltip.text

* create(zinggrid): add new typings

* update(zingchart): Add missing types for plot and graphset

* Remove redundant 'undefined' value and fix trailing whitespace

* Updated definition author

* Added camel-case version of attributes

* refactor definitions

* Update exec arg to be optional

* Add missing properties: series.id
series.type
graphset.utc
graphset.plot.selectedState.lineWidth
graphset.plot.tooltip.textAlign
graphset.plot.valueBox.fontSize (doesn't accept numbers, only string)
graphset.maxTrackers
graphset.legend.marker.borderRadius
graphset.scaleX.maxItems
graphset.scaleY.zooming

* Fix alignment issues

* Update/fix properties:
- *.lineWidth
- *.borderWidth
- graphset.plot.dataAppendSelection
- graphset.plot.dataIgnoreSelection
- graphset.plot.selectionMode
- graphset.scaleX.thousandsSeparator
- graphset.scaleX.zooming
- graphset.plot.highlight
- graphset.timeZone

* Add missing attributes:
- graphset.legend.marker.borderRadius (type)
- graphset.plot.highlight
- graphset.zoomSnap
- graphset.selectionTool

* Added tests for previous commit

* update(zingchart): add behavior.text and behavior.customFunction, and updated graphset.labels

* Add definitions for palette (theme)

* update(zingchart): Add missing transform definitions

* remove consecutive blank lines

* Add definitions for scaleX (minValue, step) and scaleY (step)

* Updated the typing for scaleX/Y.step

* mend

* Update test

* Add legendMarker.borderRadius and related attributes

* Added legendMarker.lineStyle

* update(zingchart): update typings for offsetEnd/Start

* update(zingchart): add series.zIndex

* update(zingchart): add typings for tooltip.htmlMode and valueBox.Rules

* update(zingchart): fix array typings

* updated lslint and array typings

* fix tslint file

* revert tslint.json changes

* update(zingchart) - add preview.visible, tooltip.rules, scaleX.itemsOverlap

* Added graphset.values, plot.rules.*, tooltip.rules.*

* update(zingchart): add tree-related options properties

* update(zingchart) typings for barWidth and scaleYN

* Reorder interfaces alphabetically

* Fix typings of FONTFAMILY and FONTSIZE

* Fix typo in scrollXScrollY and update tests

* add stacked attribute to graphset

* Revert "add stacked attribute to graphset"

* add stacked attribute to graphset

Co-authored-by: Mike Schultz <mschultz@zingsoft.com>
Co-authored-by: dannyjuergens <djuergens@zingsoft.com>
Co-authored-by: jphung <jphung@zingsoft.com>
Co-authored-by: jeanettephung <jeanettephung@hotmail.com>
Co-authored-by: --lasabahebwa <--lasabahebwa@zingsoft.com>
2022-10-25 16:14:04 -07:00
Jake Bailey
a3cadcc166 Remove rate-limit-redis, which has types in 3.0+ (#62885) 2022-10-25 14:38:57 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
25db3cbf64 🤖 Merge PR #62847 remove(svgo): no longer needed as of 3.0.0 by @peterblazejewicz
https://github.com/svg/svgo/releases/tag/v3.0.0
https://unpkg.com/browse/svgo@3.0.0/lib/svgo.d.ts

Thanks!
2022-10-25 12:39:45 -07:00
goorm
9ceb840e04 🤖 Merge PR #62706 staticmaps: update definitions to 1.10 by @cstria0106
* staticmaps: add types for StaticMaps.addCircle

* staticmaps: fix definition of StaticMapOptions

* Update types/staticmaps/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2022-10-25 12:37:18 -07:00
Peter Wagenet
4bda4286a4 🤖 Merge PR #62878 Add runspired and wagenet as ember data owners by @wagenet 2022-10-25 12:34:37 -07:00
Peter Wagenet
b04002db2a 🤖 Merge PR #62877 Add wagenet as owner for core Ember projects by @wagenet 2022-10-25 12:34:01 -07:00
everyone
a7a024b5b4 🤖 Merge PR #62564 [FireMonkey] update types by @DrakeTDL
* Add types for exportFunction() and cloneInto()

* Add URL interface to fetch() and xmlHttpRequest()
2022-10-25 11:16:49 -07:00
Sebastian Silbermann
d9fba49f7e React: Move nonce to global attributes (#62879) 2022-10-25 19:57:32 +02:00
Alen Mukaca
a297cbdc57 🤖 Merge PR #62864 Added type definitions for fluent-reveal-effect by @ShinzenATT
* added types for fluent-reveal-effect

* corrected tslint path in fluent-reveal-effect

* addressed validation errors for fluent-reveal-effect

* added files to tsconfig
2022-10-25 10:55:25 -07:00
Alexander S
b101e0a639 🤖 Merge PR #62013 [react-flatpickr] Extend Props from React Input instead of HTML Input by @Sysix
* [react-flatpickr] extend props from React Input not from HTML Input

* remove doniyor2109 from contribution, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62013#issuecomment-1244932807
2022-10-25 10:06:17 -07:00
Tim
5c18bde4d7 🤖 Merge PR #62874 [ember-data] additional typing for transforms by @toh995
* [ember-data] additional typing for transforms

* change tabs to spaces

* rename generic types
2022-10-25 09:21:59 -07:00
Kshitij Kamboj
3719cc719a 🤖 Merge PR #62559 Encoding APIs added by @kkamboj-aka 2022-10-25 08:50:07 -07:00
jrichil
2fb1b96c06 🤖 Merge PR #62833 Modify react-popover for react@18 by @jrichil
* Modify react-popover for react@18

add children to props interface

* spealing is herd :D
2022-10-25 07:19:14 -07:00