mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 14:08:55 +08:00
fix(editor): typecheck for tests and playground (#9897)
This commit is contained in:
@@ -35,7 +35,6 @@ function renderToImageData(index: number, scale: number) {
|
||||
bitmap.fill(0, 0, width, height);
|
||||
page.render(bitmap, 0, 0, width, height, 0, flags);
|
||||
|
||||
// @ts-expect-error ignore
|
||||
const data = new Uint8ClampedArray(bitmap.toUint8Array());
|
||||
|
||||
bitmap.close();
|
||||
|
||||
Reference in New Issue
Block a user