Skip to content

TSModuleScope

A lexical scope for TypeScript which represents the top-level scope of a module. Manages the module’s imported and exported symbols.

Extends TSLexicalScope

addImport(targetSymbol: TSOutputSymbol, targetModule: TSModuleScope, options: AddImportOptions) => TSOutputSymbol
debugInfoRecord<string, unknown>
exportedSymbolsMap<Refkey, TSOutputSymbol>
getAllSymbols() => Set<TSOutputSymbol>
importedModulesImportRecords
importedSymbolsMap<TSOutputSymbol, TSOutputSymbol>