useFreshState.d.ts 130 Bytes Raw Blame History Permalink 1 export default function useFreshState<T>(defaultValue: T, propValue?: T): [(displayValue?: boolean) => T, (newValue: T) => void];