ProgramHost
Inheritors
Properties
Link copied to clipboard
Link copied to clipboard
Used to create the program when need for program creation or recreation detected
Link copied to clipboard
If provided, used for module resolution as well as to handle directory structure
Link copied to clipboard
Link copied to clipboard
If provided, used in resolutions as well as handling directory structure
Link copied to clipboard
If provided is used to get the environment variable
Link copied to clipboard
Returns the module resolution cache used by a provided resolveModuleNames
implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
Link copied to clipboard
If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives
Link copied to clipboard
Link copied to clipboard
abstract val readDirectory: (path: String, ReadonlyArray<String>?, ReadonlyArray<String>?, ReadonlyArray<String>?, depth: Double?) -> ReadonlyArray<String>?
If provided, used to cache and handle directory structure modifications
Link copied to clipboard
abstract val resolveModuleNameLiterals: (ReadonlyArray<StringLiteralLike>, containingFile: String, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, containingSourceFile: SourceFile, ReadonlyArray<StringLiteralLike>?) -> ReadonlyArray<ResolvedModuleWithFailedLookupLocations>?
Link copied to clipboard
abstract val resolveModuleNames: (ReadonlyArray<String>, containingFile: String, ReadonlyArray<String>?, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, containingSourceFile: SourceFile?) -> ReadonlyArray<ResolvedModule?>?
Link copied to clipboard
Link copied to clipboard
abstract val resolveTypeReferenceDirectives: (typeReferenceDirectiveNames: Any, containingFile: String, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, ResolutionMode) -> ReadonlyArray<ResolvedTypeReferenceDirective?>?