@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230127234317-bfe4022 to 0.4.0-20230128222558-535c8f9
@@ -12,3 +12,3 @@ export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
export declare function matchFlavours<Key extends keyof BlockSuiteInternal.BlockModels & string = keyof BlockSuiteInternal.BlockModels & string>(model: { | ||
flavour: Key; | ||
flavour: string; | ||
}, expected: readonly Key[]): boolean; | ||
@@ -15,0 +15,0 @@ export declare const nonTextBlock: (keyof BlockSuiteInternal.BlockModels)[]; |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230127234317-bfe4022", | ||
"version": "0.4.0-20230128222558-535c8f9", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -30,3 +30,3 @@ export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
>( | ||
model: { flavour: Key }, | ||
model: { flavour: string }, | ||
expected: readonly Key[] | ||
@@ -33,0 +33,0 @@ ): boolean /* model is BlockModels[Key] */ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
221246