Normalized: (<TValue>(this: void, path: StatePath.Normalized, newValue: TValue, oldValue: TValue) => void)

Type declaration

    • <TValue>(this: void, path: StatePath.Normalized, newValue: TValue, oldValue: TValue): void
    • Normalized component state updater signature.

      Accepts normalized state path.

      Type Parameters

      • TValue

        Updated value type

      Parameters

      • this: void
      • path: StatePath.Normalized

        Normalized path of updated state node.

      • newValue: TValue

        New value.

      • oldValue: TValue

        Replaced value.

      Returns void

Generated using TypeDoc