Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better error message
  • Loading branch information
cspotcode committed Jun 22, 2018
1 parent 73fbb63 commit fbb8c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpiler.ts
Expand Up @@ -54,7 +54,7 @@ function formatDiagnostics(diagnostics: ts.Diagnostic[]): string {

function createTranspilationError(errors: string): Error {
return Error(
`TSC language server encountered errors while transpiling. Errors: ${errors}`,
`TypeScript compiler encountered syntax errors while transpiling. Errors: ${errors}`,
);
}

Expand Down

0 comments on commit fbb8c50

Please sign in to comment.