Skip to content

BlockSuite API Documentation / @blocksuite/blocks / GfxCompatible

Function: GfxCompatible()

GfxCompatible<Props, T>(BlockModelSuperClass): typeof EdgelessBlockModel

Type Parameters

Props extends GfxCompatibleProps

T extends Constructor<BlockModel<Props, SignaledProps<Props>>> = Constructor<BlockModel<Props, SignaledProps<Props>>>

Parameters

BlockModelSuperClass: T

Returns

typeof EdgelessBlockModel

Defined in

packages/affine/model/dist/utils/gfx-compatible.d.ts:8