elk/types/utils.ts

4 lines
61 B
TypeScript

export type Mutable<T> = {
-readonly[P in keyof T]: T[P]
}