@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230131204452-60bc555 to 0.4.0-20230201062929-3667cc0
@@ -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: string; | ||
flavour: Key; | ||
}, expected: readonly Key[]): boolean; | ||
@@ -15,0 +15,0 @@ export declare const nonTextBlock: (keyof BlockSuiteInternal.BlockModels)[]; |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230131204452-60bc555", | ||
"version": "0.4.0-20230201062929-3667cc0", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -30,3 +30,3 @@ export { isFirefox, isWeb, caretRangeFromPoint } from './utils/web.js'; | ||
>( | ||
model: { flavour: string }, | ||
model: { flavour: Key }, | ||
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
241323