API > @blocksuite/block-std > Command
Type alias: Command<In, Out, InData>
​
Command: <
In
,Out
,InData
>function
Type parameters ​
Parameter | Default |
---|---|
In extends BlockSuite.CommandDataName | never |
Out extends BlockSuite.CommandDataName | never |
InData extends object | {} |
Parameters ​
Parameter | Type |
---|---|
ctx | CommandKeyToData < In > & InitCommandCtx & InData |
next | function |
Returns ​
void
Defined In ​
block-std/src/command/index.ts:22