Skip to content

BlockSuite API Documentation / @blocksuite/block-std / requiredProperties

Function: requiredProperties()

requiredProperties(propTypes): (constructor) => void

Parameters

propTypes

Record<string, ValidatorFunction>

Returns

Function

Parameters

constructor

Constructor<LitElement>

Returns

void

Defined in

packages/framework/block-std/src/view/decorators/required.ts:45