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
Returns
void
Source
packages/framework/block-std/src/command/types.ts:21