From 7871cb8e7135351951d8fe5e63eccb1883e8342e Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Tue, 31 Oct 2023 13:11:19 +0800 Subject: [PATCH] fix(pkg::angular): remove an invalid assertion --- .../projects/typst.angular/src/lib/typst.document.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts b/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts index 9cd2c232..99a66b51 100644 --- a/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts +++ b/packages/typst.angular/projects/typst.angular/src/lib/typst.document.component.ts @@ -32,9 +32,6 @@ export class TypstDocumentComponent { const displayDiv = this.typst_app?.nativeElement; if (this.artifact?.length) { const doRender = (renderer: typst.TypstRenderer) => { - if (this.format === 'vector') { - throw new Error('not implemented'); - } renderer.render({ artifactContent: this.artifact, format: 'vector',