Skip to content

Commit 742da14

Browse files
committed
Upgrade @types/estree
1 parent 52ae722 commit 742da14

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/utils/type-tracker/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,7 @@ export function createTypeTracker(context: Rule.RuleContext): TypeTracker {
150150
if ("regex" in node && node.regex) {
151151
return REGEXP
152152
}
153-
if (
154-
"bigint" in node &&
155-
// @ts-expect-error -- types is out of date.
156-
node.bigint
157-
) {
153+
if ("bigint" in node && node.bigint) {
158154
return BIGINT
159155
}
160156
if (node.value == null) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@ota-meshi/eslint-plugin": "^0.5.0",
5050
"@types/eslint": "^7.2.0",
5151
"@types/eslint-scope": "^3.7.0",
52-
"@types/estree": "~0.0.45",
52+
"@types/estree": "^0.0.47",
5353
"@types/mocha": "^8.0.0",
5454
"@types/node": "^14.0.13",
5555
"@typescript-eslint/eslint-plugin": "^4.14.0",

0 commit comments

Comments
 (0)