elk/types/utils.ts
2022-11-24 17:22:29 +08:00

4 lines
61 B
TypeScript

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