StatePropertyUpdateReceiver<T>: (<TKey>(this: void, component: T, path: StatePropertyPath<TKey>, newValue: T[TKey], oldValue: T[TKey]) => void)

Type Parameters

  • T extends object

    A type of component.

Type declaration

    • <TKey>(this: void, component: T, path: StatePropertyPath<TKey>, newValue: T[TKey], oldValue: T[TKey]): void
    • Component state property updates receiver invoked when its value changed.

      Type Parameters

      • TKey extends keyof T

      Parameters

      • this: void
      • component: T
      • path: StatePropertyPath<TKey>
      • newValue: T[TKey]
      • oldValue: T[TKey]

      Returns void

Generated using TypeDoc