Automerge Repo - v2.3.0-alpha.0
    Preparing search index...
    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