mobx-bonsai
    Preparing search index...

    Function dateToIsoStringTransform

    • Transforms a Date to an ISO date 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, date: ImmutableDate | Date | Extract<T[K], undefined | null>) => void

      A function that sets the Date argument into the ISO string property