Methods
M getCancellationToken() ts.CancellationToken
Parameters:
Name | Type |
---|---|
fileName |
string |
M getDefaultLibFilename(options: ts.CompilerOptions) string
M getSourceFile(filename: string, languageVersion: ts.ScriptTarget, onError: ts.CompilerHost.GetSourceFileOnErrorCallback) ts.SourceFile
Parameters:
Name | Type | Argument |
---|---|---|
filename |
string | |
languageVersion |
ts.ScriptTarget | |
onError |
ts.CompilerHost.GetSourceFileOnErrorCallback |
<optional> |
M writeFile(filename: string, data: string, writeByteOrderMark: boolean, onError: ts.CompilerHost.WriteFileOnErrorCallback) void
Parameters:
Name | Type | Argument |
---|---|---|
filename |
string | |
data |
string | |
writeByteOrderMark |
boolean | |
onError |
ts.CompilerHost.WriteFileOnErrorCallback |
<optional> |
Callbacks
Parameters:
Name | Type |
---|---|
message |
string |
Parameters:
Name | Type |
---|---|
message |
string |