[typescript] keyof, Omit, return type this

The keyof is a feature that statically guarantees that a certain value is one of the properties of a specific class. Let’s say we define a…