type-challenges / type-challenges

Collection of TypeScript type challenges with online judge

Home Page:https://tsch.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

7 - Readonly

brown2243 opened this issue · comments

commented
type MyReadonly<T> = {
  readonly [key in keyof T] : T[key]
}