mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(editor): remove block models global type (#10086)
This commit is contained in:
@@ -556,7 +556,7 @@ export async function assertBlockType(
|
||||
export async function assertBlockFlavour(
|
||||
page: Page,
|
||||
id: string | number,
|
||||
flavour: BlockSuite.Flavour
|
||||
flavour: string
|
||||
) {
|
||||
const actual = await page.evaluate(
|
||||
({ id }) => {
|
||||
|
||||
Reference in New Issue
Block a user