This commit is contained in:
Alexander T
2019-06-14 12:18:27 +03:00
parent 713d6ec155
commit 627211b06b
9 changed files with 55 additions and 56 deletions

View File

@@ -140,7 +140,7 @@ function writeProtocolFile(outputFile: string, protocolTs: string, typeScriptSer
if (protocolDts === undefined) {
const diagHost: ts.FormatDiagnosticsHost = {
getCanonicalFileName(f) { return f; },
getCurrentDirectory() { return '.'; },
getCurrentDirectory() { return "."; },
getNewLine() { return "\r\n"; }
};
const diags = emitResult.diagnostics.map(d => ts.formatDiagnostic(d, diagHost)).join("\r\n");