UNPKG

1.46 kBTypeScriptView Raw
1import ts from 'typescript';
2export declare function getName(node: ts.Symbol): string;
3export declare function getDeclarations(node: ts.Symbol): readonly ts.Declaration[];
4export declare function getValueDeclaration(node: ts.Symbol): ts.Declaration | undefined;
5export declare function getValueDeclarationOrThrow(node: ts.Symbol): ts.Declaration;
6export declare function getAliasedSymbol(typeChecker: ts.TypeChecker, node: ts.Symbol): ts.Symbol | undefined;
7export declare function getSymbolOrAlias(typeChecker: ts.TypeChecker, symbol: ts.Symbol): ts.Symbol;
8export declare function getMembers(node: ts.Symbol): ts.SymbolTable | undefined;
9export declare function getMembersOrThrow(node: ts.Symbol): ts.SymbolTable;
10export declare function getMember(node: ts.Symbol, name: string): ts.Symbol | undefined;
11export declare function getMemberOrThrow(node: ts.Symbol, name: string): ts.Symbol;
12export declare function getExports(node: ts.Symbol): ts.SymbolTable | undefined;
13export declare function getExportsOrThrow(node: ts.Symbol): ts.SymbolTable;
14export declare function getExport(node: ts.Symbol, name: string): ts.Symbol | undefined;
15export declare function getExportOrThrow(node: ts.Symbol, name: string): ts.Symbol;
16export declare function isArgumentsSymbol(typeChecker: ts.TypeChecker, node: ts.Symbol): boolean;
17export declare function getTarget(symbol: ts.Symbol): ts.Symbol;
18export declare function getParent(symbol: ts.Symbol): ts.Symbol | undefined;