@sqlrooms/documents / createDocumentCommands
Function: createDocumentCommands()
createDocumentCommands<
TRoomState>():RoomCommand<TRoomState>[]
Type Parameters
| Type Parameter | Default type |
|---|---|
TRoomState extends DocumentCommandState | DocumentCommandState |
Returns
RoomCommand<TRoomState>[]
