mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
refactor(editor): cleanup ts-expect-error (#9369)
This commit is contained in:
@@ -133,7 +133,7 @@ export function toGfxBlockComponent<
|
||||
WidgetName extends string,
|
||||
B extends typeof BlockComponent<Model, Service, WidgetName>,
|
||||
>(CustomBlock: B) {
|
||||
// @ts-expect-error FIXME: ts error
|
||||
// @ts-expect-error ignore
|
||||
return class extends CustomBlock {
|
||||
[GfxElementSymbol] = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user