UNPKG

@react-hookz/web

Version:

React hooks done right, for browser and SSR.

7 lines (6 loc) 197 B
/** * Tracks the state of a `Set`. * * @param values Initial values iterator for underlying `Set` constructor. */ export declare function useSet<T = any>(values?: readonly T[] | null): Set<T>;