Methods

M getCommonSourceDirectory() string

Returns: { string }

M getCompilerHost() ts.CompilerHost

Returns: { ts.CompilerHost }

M getCompilerOptions() ts.CompilerOptions

Returns: { ts.CompilerOptions }

M getDiagnostics(sourceFile: ts.SourceFile) ts.Diagnostic[]

Parameters:
Name Type Argument
sourceFile ts.SourceFile <optional>
Returns: { Array.<ts.Diagnostic> }

M getGlobalDiagnostics() ts.Diagnostic[]

Returns: { Array.<ts.Diagnostic> }

M getSourceFile(filename: string) ts.SourceFile

Parameters:
Name Type
filename string
Returns: { ts.SourceFile }

M getSourceFiles() ts.SourceFile[]

Returns: { Array.<ts.SourceFile> }

M getTypeChecker(fullTypeCheckMode: boolean) ts.TypeChecker

Parameters:
Name Type
fullTypeCheckMode boolean
Returns: { ts.TypeChecker }