export const mutable = >( val: T ) => val as Mutable export type Mutable = { -readonly [P in keyof T]: T[P] } export type HTMLElementCustomized = HTMLElement & T