Mutabletype
{ -readonly [K in keyof T]: T[K] }| Type | |
|---|---|
K |
Mutable type is the opposite of Readonly<T> helper type.
- See github.com/microsoft/TypeScript/issues/24509
- Consistency with
Readonly<T>
{ -readonly [K in keyof T]: T[K] }| Type | |
|---|---|
K |
Mutable type is the opposite of Readonly<T> helper type.
Readonly<T>