Typescript mapped type with filtered keys
If I have a type like: type T = { a: string, _a: string, b: number, _c: boolean, /* … any number of unknown properties … */ }; Is there anyway I can define a new mapped type which has all (and only) properties of T which do not begin with the letter _? For… Read More Typescript mapped type with filtered keys