Skip to content

Commit

Permalink
fix: Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Mar 18, 2024
1 parent c63352b commit ecb818d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/typeChecker/FileLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default class FileLinter {
const nodeExp = node.expression as ts.PropertyAccessExpression;
const {symbol} = this.#checker.getTypeAtLocation(nodeExp);
// TS parser uses some intermediate types that are not available as definitions.
// In this case SymbolObject which is a ts.Symbol + ts.Node and that's
// In this case SymbolObject which is a ts.Symbol + ts.Node and that's
// why we need these ugly type castings
const importDeclaration =
((((symbol as unknown) as ts.Node)?.parent?.parent as unknown) as ts.Symbol)?.getEscapedName() as string;
Expand Down

0 comments on commit ecb818d

Please sign in to comment.