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:19
Generated using TypeDoc and typedoc-plugin-markdown.