Readonly
UpdatedReadonly<T>
type Readonly<T> = { [K in keyof T]: read T[K] }
Every field of T, read only. A language-level type; the std builds it with a type function. A type Readonly in a file replaces it there.
Readonly<T>
type Readonly<T> = { [K in keyof T]: read T[K] }
Every field of T, read only. A language-level type; the std builds it with a type function. A type Readonly in a file replaces it there.