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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy