3 ms·
Yeah, tricky one, that. At least you have the workaround type PublicPart<T> = {[K in keyof T]: T[K]}; //keyof only sees public properties
by dahauns 9y ago
Yeah, tricky one, that.
At least you have the workaround
type PublicPart<T> = {[K in keyof T]: T[K]}; //keyof only sees public properties