ChangeFn<T>: ((doc) => 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): void
    • Parameters

      • doc: T

      Returns void