Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fde8f6

Browse files
authored
fix(types): parent property type annotation in the ImportAttribute node (typescript-eslint#10258)
1 parent 336f027 commit 0fde8f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/types/src/ts-estree.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ declare module './generated/ast-spec' {
5151
}
5252

5353
interface ImportAttribute {
54-
parent: TSESTree.ImportDeclaration | TSESTree.ImportExpression;
54+
parent:
55+
| TSESTree.ExportAllDeclaration
56+
| TSESTree.ExportNamedDeclaration
57+
| TSESTree.ImportDeclaration;
5558
}
5659

5760
interface ImportDefaultSpecifier {

0 commit comments

Comments
 (0)