refactor(editor): remove global gfx tool types (#12119)

This commit is contained in:
Saul-Mirone
2025-05-04 13:53:27 +00:00
parent 30a2e5b4fb
commit 676c5d8de6
20 changed files with 2 additions and 219 deletions

View File

@@ -1,14 +1,9 @@
import type * as Effect from '@blocksuite/affine/effects';
import type * as ConnectorEffect from '@blocksuite/affine/gfx/connector';
import type * as ShapeEffect from '@blocksuite/affine/gfx/shape';
import type { EditorHost } from '@blocksuite/affine/std';
import type { Store, Transformer, Workspace } from '@blocksuite/affine/store';
import type { TestAffineEditorContainer } from '@blocksuite/integration-test';
declare type _GLOBAL_ =
| typeof Effect
| typeof ConnectorEffect
| typeof ShapeEffect;
declare type _GLOBAL_ = typeof Effect;
declare global {
interface Window {