File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ module.exports = {
111
111
112
112
let scope = getScope ( context , node ) ;
113
113
while ( scope ) {
114
- // @ts -expect-error The parent property does not exist in the ESTree.Node type.
115
114
const parent = scope . block && scope . block . parent ;
116
115
if (
117
116
parent
@@ -387,9 +386,7 @@ module.exports = {
387
386
388
387
stateRefs . forEach ( ( ref ) => {
389
388
const identifier = ref . identifier ;
390
- // @ts -expect-error The parent property does not exist in the Identifier type.
391
389
if ( identifier && identifier . parent && identifier . parent . type === 'MemberExpression' ) {
392
- // @ts -expect-error The parent property does not exist in the Identifier type.
393
390
addUsedStateField ( identifier . parent . property ) ;
394
391
}
395
392
} ) ;
You can’t perform that action at this time.
0 commit comments