Skip to content

Commit a01f80f

Browse files
committed
Skip export default syntax
1 parent fb7091f commit a01f80f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ export async function run(configuration: Configuration) {
149149

150150
if (declaration.isKind(ts.SyntaxKind.Identifier)) {
151151
identifier = declaration;
152+
} else if (declaration.isKind(ts.SyntaxKind.ArrowFunction)) {
153+
// TODO No ReferenceFindableNode/Identifier available?
152154
} else if (
153155
declaration.isKind(ts.SyntaxKind.FunctionDeclaration) ||
154156
declaration.isKind(ts.SyntaxKind.ClassDeclaration) ||

0 commit comments

Comments
 (0)