/** Void function. */ export type Fn = () => void; /** Something may be a promise. */ export type MaybePromise = T | PromiseLike; /** Null or undefined. */ export type nil = null | undefined; /** Something may be nullish. */ export type Option = T | nil; /** Removes the readonly modifier from all properties of T. */ export type Writable = { -readonly [P in keyof T]: T[P]; };