Trevixal API
    Preparing search index...

    Type Alias Command

    Command: (state: EditorState) => Transaction | null

    A command inspects a state and produces the transaction realizing it, or null when it does not apply. Pure, dispatching is the caller's job.

    Type Declaration