Type Alias ReadWrite<T>

ReadWrite<T>: {
    -readonly [K in keyof T]: T[K]
}

Converts readonly properties of a type T to writable properties. This is the opposite of the Readonly<T> builtin mapped type.

Type Parameters

  • T