mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
refactor(editor): cleanup ts-expect-error (#9369)
This commit is contained in:
@@ -19,7 +19,7 @@ export function syncBlockProps(
|
||||
if (SYS_KEYS.has(key)) return;
|
||||
if (value === undefined) return;
|
||||
|
||||
// @ts-expect-error FIXME: ts error
|
||||
// @ts-expect-error allow props
|
||||
model[key] = value;
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ export function syncBlockProps(
|
||||
return;
|
||||
}
|
||||
|
||||
// @ts-expect-error FIXME: ts error
|
||||
// @ts-expect-error allow props
|
||||
model[key] = native2Y(value);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user