demo/typescript.js
function isAliasSymbolDeclaration(node) {
        return node.kind === 221 /* ImportEqualsDeclaration */ ||
            node.kind === 223 /* ImportClause */ && !!node.name ||
            node.kind === 224 /* NamespaceImport */ ||
            node.kind === 226 /* ImportSpecifier */ ||
            node.kind === 230 /* ExportSpecifier */ ||
            node.kind === 227 /* ExportAssignment */ && node.expression.kind === 69 /* Identifier */;
    }
function isAliasSymbolDeclaration(node) {
        return node.kind === 221 /* ImportEqualsDeclaration */ ||
            node.kind === 223 /* ImportClause */ && !!node.name ||
            node.kind === 224 /* NamespaceImport */ ||
            node.kind === 226 /* ImportSpecifier */ ||
            node.kind === 230 /* ExportSpecifier */ ||
            node.kind === 227 /* ExportAssignment */ && node.expression.kind === 69 /* Identifier */;
    }
An alias symbol is created by one of the following declarations: import <symbol> = ... import <symbol> from ... import * as <symbol> from ... import { x as <symbol> } from ... export { x as <symbol> } from ... export = ... export default ...