refactor(editor): cleanup ts-expect-error (#9369)

This commit is contained in:
Saul-Mirone
2024-12-27 05:14:23 +00:00
parent 908e3efd12
commit 2b27d62b0e
35 changed files with 84 additions and 90 deletions
@@ -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);
});
}