| 3 | import type { UseStateful } from './useStateful'; |
| 4 | |
| 5 | export interface UseSet<T> extends UseStateful<Set<T>>, UseSetActions<T> {} |
| 6 | |
| 7 | export function useSet<T>(initialState: Set<T> = new Set()): UseSet<T> { |
| 8 | const [value, actions] = useSetArray(initialState); |
nothing calls this directly
no outgoing calls
no test coverage detected