mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 04:17:34 -06:00
Got rid of 'getExportsOfImportDeclaration'.
This commit is contained in:
parent
77492382ea
commit
19211b1292
@ -3001,17 +3001,6 @@ module ts {
|
||||
return result;
|
||||
}
|
||||
|
||||
function getExportsOfImportDeclaration(node: ImportDeclaration): Symbol[] {
|
||||
if (!node.moduleSpecifier) {
|
||||
return emptyArray;
|
||||
}
|
||||
let module = resolveExternalModuleName(node, node.moduleSpecifier);
|
||||
if (!module) {
|
||||
return emptyArray;
|
||||
}
|
||||
return symbolsToArray(getExportsOfModule(module));
|
||||
}
|
||||
|
||||
function getSignatureFromDeclaration(declaration: SignatureDeclaration): Signature {
|
||||
let links = getNodeLinks(declaration);
|
||||
if (!links.resolvedSignature) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user