mobx-bonsai
    Preparing search index...

    Function bigIntToStringTransform

    • Transforms a BigInt to a string (action).

      Type Parameters

      • T extends { [k in string | number | symbol]?: null | string }
      • K extends string | number | symbol

      Parameters

      • propName: K

        The name of the property to transform

      Returns (this: T, bigint: bigint | Extract<T[K], undefined | null>) => void

      A function that sets the BigInt argument into the string property