Closed ersimont closed 2 years ago
type PublicPart<T> = {[K in keyof T]: T[K]};
From https://github.com/microsoft/TypeScript/issues/16556#issuecomment-308831129
From https://github.com/microsoft/TypeScript/issues/16556#issuecomment-308831129