export const mutable = >( val: T ) => val as Mutable export type Mutable = { -readonly [P in keyof T]: T[P] } export type HTMLElementCustomized = HTMLElement & T /** * @deprecated stop to use null * @see {@link https://github.com/sindresorhus/meta/discussions/7} */ export type Nullable = T | null export type Arrayable = T | T[] export type Awaitable = Promise | T