Writeable (Type)
Type Aliases
Writeable<T>
type Writeable<T> = { -readonly [P in keyof T]: T[P] };
Defined in: types/Writeable.ts:6
Helper type to convert a read-only object into a writable object.
This is the opposite of the built-in Readonly
utility type.
Type Parameters
Type Parameter |
---|
T |