2 lines
64 B
TypeScript

export type Updater<T> = (updater: (value: T) => void) => void;