dingxyang opened this issue 2 years ago · 0 comments
type MyReadonly2<T, K extends keyof T = keyof T> = Omit<T, K> & { readonly [P in K] : T[P] }