fixed build error

This commit is contained in:
Manuel Friedli 2016-09-21 13:57:13 +02:00
parent a1067de032
commit 0f53010d4f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export class AppComponent extends OnInit {
let result:string;
try {
result = converter.convert(content);
} catch (error:Error) {
} catch (error) {
if (typeof console === "object" && typeof console.log === "function") {
console.log(error);
}