Properties

Link copied to clipboard
abstract external val directoryExists: (directoryName: String) -> Boolean?
Link copied to clipboard
abstract external val error: (s: String) -> Unit?
Link copied to clipboard
abstract external val getCancellationToken: () -> HostCancellationToken?
Link copied to clipboard
abstract external val getCompilerHost: () -> CompilerHost??
Link copied to clipboard
abstract external val getCurrentDirectory: () -> String?
Link copied to clipboard
abstract external val getCustomTransformers: () -> CustomTransformers??

Gets a set of custom transformers to use during emit.

Link copied to clipboard
abstract external override val getDirectories: (path: String) -> ReadonlyArray<String>?
Link copied to clipboard
abstract external val getLocalizedDiagnosticMessages: () -> Any??
Link copied to clipboard
abstract external val getNewLine: () -> String?
Link copied to clipboard
abstract external val getParsedCommandLine: (fileName: String) -> ParsedCommandLine??
Link copied to clipboard
abstract external val getProjectReferences: () -> ReadonlyArray<ProjectReference>??
Link copied to clipboard
abstract external val getProjectVersion: () -> String?
Link copied to clipboard
abstract external val getScriptKind: (fileName: String) -> ScriptKind?
Link copied to clipboard
abstract external val getTypeRootsVersion: () -> Double?
Link copied to clipboard
Link copied to clipboard
abstract external val isKnownTypesPackageName: (name: String) -> Boolean?
Link copied to clipboard
abstract external var jsDocParsingMode: JSDocParsingMode?
Link copied to clipboard
abstract external val log: (s: String) -> Unit?
Link copied to clipboard
Link copied to clipboard
abstract external override val realpath: (path: String) -> String?

Resolve a symbolic link.

Link copied to clipboard
Link copied to clipboard
abstract external val resolveModuleNames: (ReadonlyArray<String>, containingFile: String, ReadonlyArray<String>?, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, containingSourceFile: SourceFile?) -> ReadonlyArray<ResolvedModule?>?
Link copied to clipboard
abstract external val resolveTypeReferenceDirectives: (typeDirectiveNames: Any, containingFile: String, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, ResolutionMode) -> ReadonlyArray<ResolvedTypeReferenceDirective?>?
Link copied to clipboard
abstract external override val trace: (s: String) -> Unit?
Link copied to clipboard
abstract external override val useCaseSensitiveFileNames: () -> Boolean?
Link copied to clipboard
abstract external val writeFile: (fileName: String, content: String) -> Unit?

Functions

Link copied to clipboard
abstract external override fun fileExists(fileName: String): Boolean
Link copied to clipboard
abstract external override fun getCompilationSettings(): CompilerOptions
Link copied to clipboard
abstract external fun getCurrentDirectory(): String
Link copied to clipboard
abstract external fun getDefaultLibFileName(options: CompilerOptions): String
Link copied to clipboard
abstract external fun getScriptFileNames(): ReadonlyArray<String>
Link copied to clipboard
abstract external fun getScriptSnapshot(fileName: String): IScriptSnapshot?
Link copied to clipboard
abstract external fun getScriptVersion(fileName: String): String
Link copied to clipboard
abstract external fun readFile(path: String, encoding: String = definedExternally): String?
abstract external fun readFile(fileName: String): String?