Skip to content

BlockSuite API Documentation / @blocksuite/store / Native2Y

Type Alias: Native2Y<T>

Native2Y<T>: T extends Record<string, infer U> ? YMap<U> : T extends infer U[] ? YArray<U> : T

Type Parameters

T

Defined in

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