diff --git a/app/app.component.ts b/app/app.component.ts index 8aee806..12cf4e3 100644 --- a/app/app.component.ts +++ b/app/app.component.ts @@ -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); }