demo/typescript.js
function getReferencedImportDeclaration(node) {
            var symbol = getReferencedValueSymbol(node);
            return symbol && symbol.flags & 8388608 /* Alias */ ? getDeclarationOfAliasSymbol(symbol) : undefined;
        }
function getReferencedImportDeclaration(node) {
            var symbol = getReferencedValueSymbol(node);
            return symbol && symbol.flags & 8388608 /* Alias */ ? getDeclarationOfAliasSymbol(symbol) : undefined;
        }
function getReferencedImportDeclaration ( node ) { var symbol = getReferencedValueSymbol ( node ) ; return symbol && symbol . flags & 8388608 /* Alias */ ? getDeclarationOfAliasSymbol ( symbol ) : undefined ; }
When resolved as an expression identifier, if the given node references an import, return the declaration of that import. Otherwise, return undefined.
When resolved as an expression identifier if the given node references an import return the declaration of that import . Otherwise return undefined .