Skip to main content

@zero-dependency/react

Index

Type Aliases

CallbackFn

CallbackFn<T>: (...args: Parameters<T>) => ReturnType<T>

Type parameters

  • T: (...args: any[]) => void

Type declaration

    • (...args: Parameters<T>): ReturnType<T>
    • Parameters

      • rest...args: Parameters<T>

      Returns ReturnType<T>

KeyOf

KeyOf<T>: Extract<keyof T, string>

Type parameters

  • T

SetStateActionPartial

SetStateActionPartial<T>: Partial<T> | (state: T) => Partial<T>

Type parameters

  • T