Skip to content

Commit b67f03e

Browse files
committed
fix: type listener node
1 parent a975829 commit b67f03e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rules/no-top-level-await.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ module.exports = {
120120
":function:exit"() {
121121
functionDepth--
122122
},
123+
/**
124+
* @param {import('estree').AwaitExpression | import('estree').ForOfStatement | import('estree').VariableDeclaration} node
125+
*/
123126
"AwaitExpression, ForOfStatement[await=true], VariableDeclaration[kind='await using']"(
124127
node
125128
) {

0 commit comments

Comments
 (0)