fixed build error

This commit is contained in:
Manuel Friedli 2016-09-21 13:57:13 +02:00
parent a1067de032
commit 0f53010d4f

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);
}