Gets the aliased symbol or returns undefined if it doesn't exist.
Gets the aliased symbol or throws if it doesn't exist.
Optionalmessage: string | (() => string)Gets the declared type of the symbol.
Gets the escaped name.
Gets the export of the symbol by the specified name or returns undefined if not exists.
Name of the export.
Gets the export of the symbol by the specified name or throws if not exists.
Name of the export.
Optionalmessage: string | (() => string)Gets the exports from the symbol.
Gets the export symbol of the symbol if its a local symbol with a corresponding export symbol. Otherwise returns the current symbol.
The following is from the compiler API documentation:
For example, at export type T = number;:
- getSymbolAtLocation at the location T will return the exported symbol for T.
- But the result of getSymbolsInScope will contain the local symbol for T, not the exported symbol.
- Calling getExportSymbol on that local symbol will return the exported symbol.
Gets the symbol flags.
Gets the fully qualified name.
Gets the global export of the symbol by the specified name or returns undefined if not exists.
Name of the global export.
Gets the global export of the symbol by the specified name or throws if not exists.
Name of the global export.
Optionalmessage: string | (() => string)Gets the global exports from the symbol.
Follows a single alias to get the immediately aliased symbol or returns undefined if it doesn't exist.
Follows a single alias to get the immediately aliased symbol or throws if it doesn't exist.
Optionalmessage: string | (() => string)Gets the JS doc tag infos of the symbol.
Gets the member of the symbol by the specified name or returns undefined if not exists.
Name of the member.
Gets the member of the symbol by the specified name or throws if not exists.
Name of the export.
Optionalmessage: string | (() => string)Gets the members of the symbol
Gets the symbol name.
Gets the value declaration of a symbol or throws if it doesn't exist.
Optionalmessage: string | (() => string)Gets if the symbol has the specified flags.
Flags to check if the symbol has.
Gets if the symbol is an alias.
Gets if the symbol is optional.
Gets the underlying compiler symbol.