Skip to content

Commit 20c87e8

Browse files
committed
chore: upgrade TypeScript
1 parent b6443b6 commit 20c87e8

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

lib/rules/no-await-sync-events.ts

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default createTestingLibraryRule<Options, MessageIds>({
7676
property.id.name === 'delay' &&
7777
isLiteral(property.init) &&
7878
property.init.value &&
79+
// @ts-expect-error -- TODO: fix me
7980
property.init.value > 0
8081
);
8182
},
@@ -88,6 +89,7 @@ export default createTestingLibraryRule<Options, MessageIds>({
8889
isLiteral(node.right) &&
8990
node.right.value !== null
9091
) {
92+
// @ts-expect-error -- TODO: fix me
9193
hasDelayDeclarationOrAssignmentGTZero = node.right.value > 0;
9294
}
9395
},
@@ -141,6 +143,7 @@ export default createTestingLibraryRule<Options, MessageIds>({
141143
property.key.name === 'delay' &&
142144
isLiteral(property.value) &&
143145
!!property.value.value &&
146+
// @ts-expect-error -- TODO: fix me
144147
property.value.value > 0
145148
);
146149

package-lock.json

+8-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"prettier": "2.8.7",
8787
"semantic-release": "^19.0.5",
8888
"ts-node": "^10.9.1",
89-
"typescript": "^4.9.5"
89+
"typescript": "^5.3.2"
9090
},
9191
"peerDependencies": {
9292
"eslint": "^7.5.0 || ^8.0.0"

tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"outDir": "./dist",
1212
"removeComments": true,
1313
"skipLibCheck": true,
14-
"sourceMap": false,
15-
"suppressImplicitAnyIndexErrors": true
14+
"sourceMap": false
1615
},
1716
"include": ["./lib/**/*.ts"]
1817
}

0 commit comments

Comments
 (0)