Skip to content

Commit 082dc82

Browse files
committed
fix build
1 parent 1b7e9be commit 082dc82

File tree

1 file changed

+2
-0
lines changed
  • packages/frame/src/runtime/editor/languages/typescript

1 file changed

+2
-0
lines changed

packages/frame/src/runtime/editor/languages/typescript/compress.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-disable @typescript-eslint/ban-ts-comment */
22
export async function compress(text: string) {
33
const byteArray = new TextEncoder().encode(text)
4+
// @ts-ignore
45
const cs = new CompressionStream("deflate")
56
const writer = cs.writable.getWriter()
67
writer.write(byteArray)
@@ -10,6 +11,7 @@ export async function compress(text: string) {
1011
}
1112

1213
export async function decompress(bytes: ArrayBuffer) {
14+
// @ts-ignore
1315
const cs = new DecompressionStream("deflate")
1416
const writer = cs.writable.getWriter()
1517
writer.write(bytes)

0 commit comments

Comments
 (0)