I used to call this technique 'type tunnelling' and noted its use in XML in ...| www.hanselman.com
Generating types by re-using an existing type.| www.typescriptlang.org
As well as the while statement just introduced, Python uses a few more that we will encounter in this chapter. if Statements: Perhaps the most well-known statement type is the if statement. For exa...| Python documentation
Create types which act like if statements in the type system.| www.typescriptlang.org
Understand how TypeScript uses JavaScript knowledge to reduce the amount of type syntax in your projects.| www.typescriptlang.org