Quantcast
Channel: fettblog.eu | TypeScript, JavaScript, Jamstack
Viewing all articles
Browse latest Browse all 203

TypeScript: Improving Object.keys

$
0
0

TypeScript’s predefined types in lib.d.ts are usually very well-typed and give tons of information on how to use built-in functionality as well as providing you with extra-type safety. Until they don’t. Consider the following example with an object type Person:


Viewing all articles
Browse latest Browse all 203

Trending Articles