Skip to content

TSPackageScope

Members

Extends Scope context interface

addDependency(TSPackageScope) => void
addExport(string, TSModuleScope) => void
addModule(TSModuleScope) => void
builtinoptionalboolean

Whether this is a built-in package provided by the platform.

dependenciesSet<TSPackageScope>

The scopes for the packages this package depends on.

exportedSymbolsMap<string, TSModuleScope>

The symbols exported by this package. They are broken down by which paths they are exported from. It is possible a symbol may be present at multiple paths, in which case emitters can decide which symbol to use based on their own heuristics.

findExportedSymbol(Refkey) => [string, TSModuleScope] | null
kind”package”
modulesSet<TSModuleScope>

All of the modules contained within the package. These modules may or may not be exported.

pathstring

The path of the root directory of the package.

versionstring

The version of the this package.