Skip to content

BlockSuite API Documentation / @blocksuite/store / Native2Y

Type alias: Native2Y<T>

Native2Y<T>: T extends Record<string, infer U> ? Map<U> : T extends infer U[] ? Array<U> : T

Type parameters

T

Source

packages/framework/store/src/reactive/utils.ts:8