mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 17:05:58 -05:00
fix formatting
This commit is contained in:
@@ -127,7 +127,7 @@ namespace ts {
|
||||
importedFiles: FileReference[];
|
||||
ambientExternalModules: string[];
|
||||
isLibFile: boolean
|
||||
}
|
||||
}
|
||||
|
||||
let scanner: Scanner = createScanner(ScriptTarget.Latest, /*skipTrivia*/ true);
|
||||
|
||||
@@ -2097,7 +2097,7 @@ namespace ts {
|
||||
end: pos + importPath.length
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function processImport(): void {
|
||||
scanner.setText(sourceText);
|
||||
let token = scanner.scan();
|
||||
|
||||
@@ -297,7 +297,7 @@ namespace ts {
|
||||
|
||||
public error(s: string): void {
|
||||
this.shimHost.error(s);
|
||||
}
|
||||
}
|
||||
|
||||
public getProjectVersion(): string {
|
||||
if (!this.shimHost.getProjectVersion) {
|
||||
@@ -549,7 +549,7 @@ namespace ts {
|
||||
private realizeDiagnostics(diagnostics: Diagnostic[]): { message: string; start: number; length: number; category: string; }[]{
|
||||
var newLine = this.getNewLine();
|
||||
return ts.realizeDiagnostics(diagnostics, newLine);
|
||||
}
|
||||
}
|
||||
|
||||
public getSyntacticClassifications(fileName: string, start: number, length: number): string {
|
||||
return this.forwardJSONCall(
|
||||
|
||||
Reference in New Issue
Block a user