Skip to content

Commit 4ed2a62

Browse files
committed
Update types
1 parent 4784ac4 commit 4ed2a62

5 files changed

Lines changed: 18 additions & 59 deletions

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public-hoist-pattern[]=@typescript/*

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"license": "MIT",
4242
"packageManager": "pnpm@10.10.0",
4343
"devDependencies": {
44-
"@typescript/lib-es5": "npm:@types-with-exceptions/lib-es5@5.8.3-dev.1",
45-
"@types-with-exceptions/node": "22.15.29-dev.0",
44+
"@types-with-exceptions/lib": "0.0.0-dev.0",
45+
"@types-with-exceptions/node": "0.0.0-dev.0",
4646
"@typescript-eslint/parser": "^8.32.1",
4747
"@typescript-eslint/rule-tester": "^8.32.1",
4848
"@typescript-eslint/type-utils": "^8.32.1",

pnpm-lock.yaml

Lines changed: 15 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/rules/check-throws-tag-type.test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,27 +1298,6 @@ ruleTester.run(
12981298
{ messageId: 'throwTypeMismatch' },
12991299
],
13001300
},
1301-
{
1302-
code: `
1303-
/**
1304-
* @param {number} value
1305-
* @throws {TypeError}
1306-
*/
1307-
function foo(value) {
1308-
new ArrayBuffer(value);
1309-
}
1310-
`,
1311-
output: `
1312-
/**
1313-
* @param {number} value
1314-
* @throws {RangeError}
1315-
*/
1316-
function foo(value) {
1317-
new ArrayBuffer(value);
1318-
}
1319-
`,
1320-
errors: [{ messageId: 'throwTypeMismatch' }],
1321-
},
13221301
{
13231302
code: `
13241303
/**

tests/rules/no-undocumented-throws.test.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3197,26 +3197,6 @@ ruleTester.run(
31973197
`,
31983198
errors: [{ messageId: 'missingThrowsTag' }],
31993199
},
3200-
{
3201-
code: `
3202-
/**
3203-
* @param {number} value
3204-
*/
3205-
function foo(value) {
3206-
new ArrayBuffer(value);
3207-
}
3208-
`,
3209-
output: `
3210-
/**
3211-
* @param {number} value
3212-
* @throws {RangeError}
3213-
*/
3214-
function foo(value) {
3215-
new ArrayBuffer(value);
3216-
}
3217-
`,
3218-
errors: [{ messageId: 'missingThrowsTag' }],
3219-
},
32203200
{
32213201
code: `
32223202
/**

0 commit comments

Comments
 (0)