84199 Commits

Author SHA1 Message Date
Wojciech Maj
57da3f8934 Remove @types/react-pdf (#65588) 2023-06-05 17:41:39 -07:00
kuromoka
9007ae08f6 Add types for namespace-js (#65576)
* add namespace-js type

* validate fix

* fix to object type

* fix version

* delete patch version

* improve types

* add dot object type
2023-06-05 17:40:05 -07:00
Tobias Nießen
d6901b61b3 Add @types/pqclean (#65643) 2023-06-05 17:22:30 -07:00
mfedderly
ae9dc47e7f Deprecate @types/flatbush - flatbush ships its own types in 4.2.0 (#65662)
* use flatbush builtin types now

* geoflatbush updates
2023-06-05 17:16:50 -07:00
Ismail Elshakankiry
a8724de9b4 Deprecate @types/filter-invalid-dom-props (#65663) 2023-06-05 17:14:54 -07:00
PWall
ebc1cdb2b1 @types/strip-bom-string added types (#65667) 2023-06-05 17:13:59 -07:00
matiand
fa492f10c7 Add types for quantize (#65669) 2023-06-05 17:12:45 -07:00
Grant Timmerman
09239fd9de Add types for @hapi/pez (#65690)
* Add types for `@hapi/pez`

Signed-off-by: Grant Timmerman <grant@observablehq.com>

* ci: run lint

Signed-off-by: Grant Timmerman <grant@observablehq.com>

* remove @hapi/pez

Signed-off-by: Grant Timmerman <grant@observablehq.com>

* remove @hapi/content

Signed-off-by: Grant Timmerman <grant@observablehq.com>

---------

Signed-off-by: Grant Timmerman <grant@observablehq.com>
2023-06-05 16:27:01 -07:00
Rajas Paranjpe
cee508633b [aspect-fit] Added definitions (#65691) 2023-06-05 16:26:19 -07:00
github-actions[bot]
bb754237ab Remove contributors with deleted accounts #no-publishing-comment (#65692)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2023-06-05 16:21:47 -07:00
Harry Cruse
d63e32a232 🤖 Merge PR #65644 [xmlhttprequest] Add types for xmlhttprequest by @CruseCtrl 2023-06-05 02:12:56 -07:00
Roeland Jago Douma
ed73821519 🤖 Merge PR #65693 [serverless] Add self managed kafka to the aws provider by @rullzer
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2023-06-05 01:48:42 -07:00
TypeScript Bot
b3ef871ff8 🤖 Update CODEOWNERS 2023-06-05 08:12:22 +00:00
staticvariablejames
3197efc097 🤖 Merge PR #65633 [cookieclicker] Update types to 2.052 by @staticvariablejames
* [cookieclicker] Update types to 2.052

* [cookieclicker] Refactor code for YouCustomizer using generics
2023-06-02 15:10:32 -07:00
Kevin Van Lierde
e858f398c4 🤖 Merge PR #65647 Remove metalsmith types by @webketje
Metalsmith bundles types with its distribution since v2.6.0, see https://github.com/metalsmith/metalsmith/blob/v2.6.0/types/index.d.ts
2023-06-01 23:34:44 -07:00
beno-coviu
e221cd243b 🤖 Merge PR #65657 Added observ types by @beno-coviu
* Added observ types

* Fixed various eslint and prettier issues
2023-06-01 18:02:08 -07:00
Nathan Shively-Sanders
5c28602b0d Remove ts4.3 typesVersions (#65664)
* Remove ts4.3 typesVersions

Only present in two packages: har-format and @babel/traverse.

* remove types field from package.json
2023-06-01 16:15:10 -07:00
melosh
53cfd11f91 🤖 Merge PR #65569 add simply-blackjack to DefinitelyTyped by @melosh101
* add simply-blackjack

* fix export. tidy up defintion.

* remove esModuleInterop from compiler options

* remove unused import, and use default imports in tests
2023-06-01 13:55:24 -07:00
Sebastian Silbermann
443451ccc5 🤖 Merge PR #65135 [react] Allow returning ReactNode from function components by @eps1lon
* [react] Allow returning ReactNode from function components

* [react] Ignore statics from element type checking

would require a lot of work to fix the issues in the consuming libraries
(e.g. rc-easyui, moxy__next-router-scroll etc)
.propTypes assignablity is ultimately not important here.

* Add JSX.ElementType to scoped namespace

* Add JSX.ElementType to automatic runtime
2023-06-01 12:25:50 -07:00
Julian Luis Almandos
748cf8849b [phoenix | absinthe__socket] Update Socket types (#65636)
* Add `replaceTransport` method to `Socket` class

* Improve `Socket` event handler types

* Update Phoenix version in header

* Add `dom` TS lib to `absinthe__socket`
2023-05-31 08:11:27 -07:00
Enrico Balsamo
f620ec82ae react-native-snackbar-component type (#65571)
* react-native-snackbar-component type

SnackbarComponent's type does not reflect the official, in particular for textMessage prop.
I changed it to make it compliant.
Here the official type: db0d37a18c/index.js (LL190C1-L191C1)

* react-native-snackbar-component tests for changed type
2023-05-31 08:06:00 -07:00
Marc Gibbons
605517d5bd Add preprocess to Printer interface (#65635)
`preprocess` is not defined on the interface but is used and documented.

Ref: https://github.com/prettier/prettier/blob/2.8.8/docs/plugins.md#the-printing-process

This appears to be changing slightly in 3.0.0
Ref: https://github.com/prettier/prettier/blob/3.0.0-alpha.6/docs/plugins.md#optional-preprocess
2023-05-31 08:04:46 -07:00
Emily Marigold Klassen
fea042955c [jest] Change array matchers to allow readonly arrays (#65337)
* [jest] Change array matchers to allow readonly arrays

* [jest] Update test for toHaveProperty

* [jest] Update test for not.toHaveProperty
2023-05-31 08:03:55 -07:00
Freek Wielstra
f5b2297e2a Rename drawAxisLines to drawAxisLine (#65368)
drawAxisLines is incorrect, the proper value is the singular form.
See PropTypes definition at https://github.com/wuxudong/react-native-charts-wrapper/blob/master/lib/AxisIface.js#L7, docs at https://github.com/wuxudong/react-native-charts-wrapper/blob/master/docs.md#common-props-for-xaxis-and-yaxis
2023-05-31 08:02:20 -07:00
Sam Ramon
f785493e3e Update getAccessToken support in Outlook (#65646) 2023-05-30 14:21:29 -07:00
Sam Ramon
6ffd2748f1 Update Outlook support for OfficeRuntime.Storage (#65611) 2023-05-30 14:21:05 -07:00
Nathan Shively-Sanders
71cb1db3cd Update @babel/traverse: new version of @babel/types (#65645)
The tests need to update because isQualifiedTypeIdentifier no longer
requires a parent node.
2023-05-30 11:36:28 -07:00
Anthony Molinaro
e305fd89a9 🤖 Merge PR #65536 Update type to support json-diff 1.x by @djnym 2023-05-30 10:09:27 -07:00
Andrey Slotin
73fd4e9881 🤖 Merge PR #65481 [@types/k6] Add experimental browser module type annotations for v0.44.0 by @andrewslotin
* Add k6/experimenta/browser module

* Extract k6/experimental/browser.Page definitions

* Add type definitions for k6/experimental/browser.Touchscreen

* Add type definitions for k6/experimental/browser.Response

* Add type definitions for k6/experimental/browser.Request

* Add type definitions for k6/experimental/browser.Locator

* Add type definitions for k6/experimental/browser.JSHandle

* Add type definitions for k6/experimental/browser.Keyboard

* Add type definitions for k6/experimental/browser.Mouse

* Use MouseButton and KeyboardModifier consistently

* Add type definitions for k6/experimental/browser.ElementHandle

* Add type definitions for k6/experimental/browser.Frame

* Add type definitions for k6/experimental/browser.Worker

* Add strict option to k6/experimental/browser.Locator methods

* Re-export k6/experimental/browser types to match their import paths
2023-05-30 07:49:05 -07:00
Edward Loveall
460eda9891 🤖 Merge PR #65630 Update two types for nova-editor-node by @edwardloveall
* Add shell option to TaskProcessAction

* Add config option to TaskActionResolveContext
2023-05-29 07:58:18 -07:00
Frazer Smith
a2fc2d871e 🤖 Merge PR #65608 @types/word-extractor: fix class function name by @Fdawgs 2023-05-29 03:35:09 -07:00
TypeScript Bot
5317e1dc5f 🤖 Update CODEOWNERS 2023-05-29 08:14:02 +00:00
Nigecat
5544ac7111 🤖 Merge PR #65556 Add types for img-clipboard by @Nigecat
* Add types for img-clipboard

* Update types/img-clipboard/index.d.ts

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

---------

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2023-05-28 13:41:00 -07:00
Bence Szalai
1a5956fbfd 🤖 Merge PR #65507 [convict] Rename InternalSchema properties to _cvtProperties (broken since v6.0.0) by @BenceSzalai
* [convict] Rename InternalSchema `properties` to `_cvtProperties` (broken since v6.0.0)

* [convict] Prettier code style fixes
2023-05-28 05:59:05 -07:00
Mohammad Kermani
fe2f7c4115 🤖 Merge PR #65557 feat(rollup-plugin-natives): add type definitions by @mkermani144 2023-05-28 05:45:41 -07:00
Chintan
95124c4cef 🤖 Merge PR #65595 Add types for react-native-listener by @ChintanAcharya
* Add types for react-native-listener

* Remove state type

* Run prettier
2023-05-28 02:33:01 -07:00
Jungzl
7e0c6ff9e4 🤖 Merge PR #65601 add @types/zwlog-browser by @Jungzl
* add @types/zwlog

* rename to zwlog-browser
2023-05-28 01:36:21 -07:00
Mikhail Bashkirov
1dcbca1e96 🤖 Merge PR #65510 [detect-port] Port is optional and will be random by default by @bashmish
This default port to 0 which will then pick a random port (tested)
https://github.com/node-modules/detect-port/blob/1.3.0/lib/detect-port.js#L21
2023-05-27 16:58:15 -07:00
Edward Loveall
a466288e8f 🤖 Merge PR #65616 Fix identifier typo in nova-editor-node by @edwardloveall
The assistant registry's `registerTaskAssistant` takes an `options`
parameter. The option keys are `identifier` and `name`. The types here
misspelled `identifier` as `identifer`. Who among us has not typed a
technical word incorrectly from time to time? This fixes that spelling.

https://docs.nova.app/api-reference/assistants-registry/#registertaskass
istantobject-options
2023-05-27 15:41:34 -07:00
Eric Liu
f7be665b64 🤖 Merge PR #65596 feat(carbon__icons-react): upgrade to 11.20 by @metonym 2023-05-27 12:44:50 -07:00
sosoba
04a94ba88f 🤖 Merge PR #65505 fix: add missing null on file watch event filename by @sosoba
* fix: add missing null on watch event filename

* fix: add missing null on fsPromises.watch result filename

All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`

* fix: applly fs.watch to another node versions
2023-05-26 13:11:32 -07:00
Justin Murray
84583498a9 🤖 Merge PR #65599 [presto-client] Improved PrestoError type by @murrayju
* [presto-client] Improved PrestoError type

* correctly type nested error on PrestoRequestError

* fix tests

* test coverage

* PR feedback

* fix whitespace error

* revert weird formatting by prettier
2023-05-26 09:07:25 -07:00
Harris Miller
876b9ec96b 🤖 Merge PR #65603 [ramda] Bump types-ramda package to latest by @Harris-Miller
* update a bunch of tests

* update types-ramda
2023-05-25 22:04:08 -07:00
Josh Goldberg ✨
3fcc20acbe 🤖 Merge PR #65445 chore: fixed remaining jsdoc/check-tag-names complaints by @JoshuaKGoldberg
* chore: fixed remaining jsdoc/check-tag-names complaints

* Fix up an assortment of more issues

* Reset .eslintrc.json back to master

* Fix next-pwa again, and revert yeoman-test

* Revert openfin
2023-05-25 13:21:57 -07:00
Laurence Rowe
5b4a5be9e1 🤖 Merge PR #65309 Fix JSONSchema7 contains to allow boolean JSON Schema by @lrowe
* Fix JSONSchema7 contains to allow boolean JSON Schema

JSONSchema7 contains was the only keyword with a value of `JSONSchema7` rather than `JSONSchema7Definition`, which excluded using a boolean JSON Schema value. There is no special mention in the specs so it should be treated the same as other keywords.

* Update conventional-changelog-config-spec-tests.ts with fixed JSONSchema7
2023-05-25 13:07:12 -07:00
Muhammad Nizamuddin Aulia
f7d0e69882 🤖 Merge PR #65561 [@type/react-syntax-highlighter] add missing stackoverflow-dark and stackoverflow-light styles in styles/hljs by @mavic111 2023-05-25 11:41:38 -07:00
Kagami Sascha Rosylight
50e63fb176 🤖 Merge PR #65419 [oauth2orize] add more functions with different arities by @saschanaz
* `server.authorization === server.authorize`

* Add `modes` option for `grant.code()`

* Add more arities for IssueGrantCodeFunction

* Add more arities to IssueExchangeCodeFunction

* `req.scope` is `string[]`

* Add more arities to ValidateFunction

* fix lint errors

* 1.11
2023-05-25 11:10:01 -07:00
Avery
5c92dccdca 🤖 Merge PR #64628 @types/babel__traverse: align type definitions closer to Babel source by @nullableVoidPtr
* @types/babel__traverse: align type definitions closer to Babel source

* bump required TS version and /types dependency
* define internal traverse functions like `cheap`
* narrow internal visitor functions
* define cache namespace
* better define TraverseOptions
* include more properties and documentation under `Scope`, `Binding`, `NodePath`
* narrow return types for `NodePath#get` where possible
* narrow `NodePath#parentPath` and modification methods' return types
* narrow `TraversalContext` properties
* define `VirtualTypeAliases`

* @types/babel__core: bump typescript version to align with downstream dependencies

* Revert "@types/babel__core: bump typescript version to align with downstream dependencies"

This reverts commit d412ba5b55b39db0d26bc11092a2c2ae5f7fbf76.

* @types/babel__traverse: add TS4.3 fallback and fix NodePath#parentPath

* @types/babel__core: remove minimum TypeScript version required

* @types/babel__traverse: remove myself from codeowners

* @types/babel__traverse: simplify union type on narrowed NodePath#parentPath

* @types/babel__traverse: fix introspection has-key functions and exploded visitor type

* @types/babel__core: fix lint issue

* @types/babel__traverse: remove parentPath narrowing

* @types/babel__traverse: revert NodePath#get and NodePath#parent and NodePath#parentPath

* @types/babel__traverse: minor fixes

* narrow cache WeakMaps
* define shouldSkip option
* narrow NodePath#labels
* narrow NodePath#skipKeys
* narrow parameters to NodePath#replaceWithSourceString
* remove unneeded type param on NodePath#replaceExpressionWithStatements
* deprecate NodePath#isBlacklisted
2023-05-25 10:55:02 -07:00
agiswand
b584b38d1b 🤖 Merge PR #65555 [draft-js] added DraftDecoratorComponentProps to support typed React components by @agiswand
Co-authored-by: Ilya Gerasimets <ilya.gerasimets@gmail.com>
2023-05-25 09:30:45 -07:00
googlemaps-bot
acf0f103d8 🤖 Merge PR #65546 chore: sync updates to google.maps by @googlemaps-bot
Co-authored-by: copybara-service[bot] <copybara-service[bot]@users.noreply.github.com>
2023-05-24 14:13:47 -07:00