@automerge/automerge - v3.1.1
    Preparing search index...

    Type Alias ChangeFn<T>

    ChangeFn: (doc: T) => void

    Function which is called by change when making changes to a Doc<T>

    Type Parameters

    • T

      The type of value contained in the document

      This function may mutate doc

    Type declaration

      • (doc: T): void
      • Parameters

        • doc: T

        Returns void