mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
refactor(editor): remove block models global type (#10086)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { SurfaceBlockComponent } from './surface-block.js';
|
||||
import { SurfaceBlockVoidComponent } from './surface-block-void.js';
|
||||
import type { SurfaceBlockModel } from './surface-model.js';
|
||||
import type { SurfaceBlockService } from './surface-service.js';
|
||||
|
||||
export function effects() {
|
||||
@@ -13,8 +12,5 @@ declare global {
|
||||
interface BlockServices {
|
||||
'affine:surface': SurfaceBlockService;
|
||||
}
|
||||
interface BlockModels {
|
||||
'affine:surface': SurfaceBlockModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user