Skip to content

Commit 0d34b44

Browse files
committed
fix
1 parent ebd0894 commit 0d34b44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
"@types/eslint": "^8.40.1",
7171
"@types/eslint-scope": "^3.7.4",
7272
"@types/eslint-visitor-keys": "^1.0.0",
73-
"@types/estree": "^1.0.1",
73+
"@types/estree": "^1.0.5",
7474
"@types/mocha": "^10.0.1",
7575
"@types/node": "^20.0.0",
7676
"@types/semver": "^7.5.0",
77-
"@typescript-eslint/eslint-plugin": "^6.9.0",
77+
"@typescript-eslint/eslint-plugin": "^6.10.0",
7878
"@typescript-eslint/parser": "~6.10.0",
7979
"@typescript-eslint/types": "~6.10.0",
8080
"benchmark": "^2.1.4",

src/context/script-let.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export class ScriptLetContext {
437437
idRange[0] - 9,
438438
(st, tokens, _comments, result) => {
439439
const fnDecl = st as ESTree.FunctionDeclaration;
440-
const idNode = fnDecl.id!;
440+
const idNode = fnDecl.id;
441441
const context = fnDecl.params.length > 0 ? fnDecl.params[0] : null;
442442
const scope = result.getScope(fnDecl);
443443

0 commit comments

Comments
 (0)