File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,7 @@ export function createTypeTracker(context: Rule.RuleContext): TypeTracker {
150
150
if ( "regex" in node && node . regex ) {
151
151
return REGEXP
152
152
}
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 ) {
158
154
return BIGINT
159
155
}
160
156
if ( node . value == null ) {
Original file line number Diff line number Diff line change 49
49
"@ota-meshi/eslint-plugin" : " ^0.5.0" ,
50
50
"@types/eslint" : " ^7.2.0" ,
51
51
"@types/eslint-scope" : " ^3.7.0" ,
52
- "@types/estree" : " ~ 0.0.45 " ,
52
+ "@types/estree" : " ^ 0.0.47 " ,
53
53
"@types/mocha" : " ^8.0.0" ,
54
54
"@types/node" : " ^14.0.13" ,
55
55
"@typescript-eslint/eslint-plugin" : " ^4.14.0" ,
You can’t perform that action at this time.
0 commit comments