Skip to content

Commit c0284b9

Browse files
committed
chore: remove @ts-ignore
1 parent bbc191e commit c0284b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/no-undef-directives.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ function getRegisteredDirectives(componentObject) {
2828
return []
2929
}
3030

31-
// @ts-ignore
3231
return directivesNode.value.properties.flatMap((node) => {
3332
const name =
3433
node.type === 'Property' ? utils.getStaticPropertyName(node) : null
35-
return name ? [{ node, name }] : []
34+
return name ? [{ node: /** @type {Property} */ (node), name }] : []
3635
})
3736
}
3837

0 commit comments

Comments
 (0)