TSPackageScope
Members
Section titled “Members”Extends OutputScope
| constructor | (name: string, version: string, path: string, options: TSPackageScopeOptions) | Constructs a new instance of the TSPackageScope class |
| addDependency | (pkg: TSPackageScope) => void | |
| addExport | (publicPath: string, module: TSModuleScope) => void | |
| addModule | (module: TSModuleScope) => void | |
| builtin | boolean | Whether this is a built-in package provided by the platform. |
| copyTo | () => TSPackageScope | |
| debugInfo | Record<string, unknown> | |
| dependencies | Set<TSPackageScope> | The scopes for the packages this package depends on. |
| exportedSymbols | Map<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: Refkey) => [string, TSModuleScope] | null | |
| modules | Set<TSModuleScope> | All of the modules contained within the package. These modules may or may not be exported. |
| path | string | The path of the root directory of the package. |
| version | string | The version of the this package. |