Skip to content

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

Type alias: Command<In, Out, InData>

Command<In, Out, InData>: (ctx, next) => void

Type parameters

In extends BlockSuite.CommandDataName = never

Out extends BlockSuite.CommandDataName = never

InData extends object = Object

Parameters

ctx: CommandKeyToData<In> & InitCommandCtx & InData

next: (ctx?) => void

Returns

void

Source

block-std/src/command/index.ts:22


Generated using typedoc-plugin-markdown and TypeDoc