Skip to content

Commit

Permalink
Fixed lint issues
Browse files Browse the repository at this point in the history
Caused by c53bd7f
  • Loading branch information
timocov committed Nov 26, 2023
1 parent 9d00ade commit 2ffd7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export function getExportsForSourceFile(typeChecker: ts.TypeChecker, sourceFileS
exp.symbol = getActualSymbol(exp.symbol, typeChecker);

const resolvedIdentifier = resolveDeclarationByIdentifierSymbol(exp.symbol);
exp.originalName = resolvedIdentifier?.name !== undefined ? resolvedIdentifier.name.getText() : exp.symbol.name as string;
exp.originalName = resolvedIdentifier?.name !== undefined ? resolvedIdentifier.name.getText() : exp.symbol.name;
});

return result;
Expand Down

0 comments on commit 2ffd7c9

Please sign in to comment.