mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 22:09:08 +08:00
refactor(editor): remove global gfx tool types (#12119)
This commit is contained in:
@@ -218,16 +218,6 @@ export class NoteTool extends BaseTool<NoteToolOption> {
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@blocksuite/std/gfx' {
|
||||
interface GfxToolsMap {
|
||||
'affine:note': NoteTool;
|
||||
}
|
||||
|
||||
interface GfxToolsOption {
|
||||
'affine:note': NoteToolOption;
|
||||
}
|
||||
}
|
||||
|
||||
type NoteOptions = {
|
||||
childFlavour: NoteChildrenFlavour;
|
||||
childType: string | null;
|
||||
|
||||
Reference in New Issue
Block a user