JS: Stop resolving imports from TS symbols

This commit is contained in:
Asger F
2025-04-03 15:29:29 +02:00
parent a889e981ba
commit ec4b3ef202
6 changed files with 45 additions and 94 deletions

View File

@@ -170,12 +170,7 @@ abstract class Import extends AstNode {
/**
* Gets the imported module, as determined by the TypeScript compiler, if any.
*/
private Module resolveFromTypeScriptSymbol() {
exists(CanonicalName symbol |
ast_node_symbol(this, symbol) and
ast_node_symbol(result, symbol)
)
}
private Module resolveFromTypeScriptSymbol() { none() }
/**
* Gets the module this import refers to.