mirror of
https://github.com/github/codeql.git
synced 2026-07-21 03:08:25 +02:00
JS: Stop resolving imports from TS symbols
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user