Skip to content

API > @blocksuite/block-std > Command

Type alias: Command<In, Out, InData> ​

Command: <In, Out, InData> function

Type parameters ​

ParameterDefault
In extends BlockSuite.CommandDataNamenever
Out extends BlockSuite.CommandDataNamenever
InData extends object{}

Parameters ​

ParameterType
ctxCommandKeyToData< In > & InitCommandCtx & InData
nextfunction

Returns ​

void

Defined In ​

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