mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 22:37:04 +08:00
fix(editor): type import in vite worker env (#10856)
The dependencies of `@blocksuite/affine-gfx-turbo-renderer` in work is now all type imports.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import {
|
||||
type BlockLayout,
|
||||
type BlockLayoutPainter,
|
||||
BlockLayoutPainterExtension,
|
||||
type TextRect,
|
||||
type WorkerToHostMessage,
|
||||
import type {
|
||||
BlockLayout,
|
||||
BlockLayoutPainter,
|
||||
TextRect,
|
||||
WorkerToHostMessage,
|
||||
} from '@blocksuite/affine-gfx-turbo-renderer';
|
||||
import { BlockLayoutPainterExtension } from '@blocksuite/affine-gfx-turbo-renderer/painter';
|
||||
|
||||
interface SentenceLayout {
|
||||
text: string;
|
||||
|
||||
Reference in New Issue
Block a user