Generating code based on type annotations is frequently requested feature directly related to the core feature of TypeScript which is type system.