fixed build error
This commit is contained in:
parent
a1067de032
commit
0f53010d4f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export class AppComponent extends OnInit {
|
||||||
let result:string;
|
let result:string;
|
||||||
try {
|
try {
|
||||||
result = converter.convert(content);
|
result = converter.convert(content);
|
||||||
} catch (error:Error) {
|
} catch (error) {
|
||||||
if (typeof console === "object" && typeof console.log === "function") {
|
if (typeof console === "object" && typeof console.log === "function") {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue