Public typealias

Signature
type TLCommand<Name extends string = any, Data = any> = {
  type: 'command'
  id: string
  data: Data
  name: Name
  preservesRedoStack?: boolean
}
Source

packages/editor/src/lib/editor/types/history-types.ts

TLCollaboratorHintComponentTLCommandHandler