Question · JavaScript and TypeScript course · Module 6: TypeScript Basics
Type Alias in TypeScript
What is a type alias in TypeScript?
Answer options
- A new class inheriting from another
- A shortcut for importing modules
- A name given to an existing type or type composition using the type keyword
- An alias for a variable name
You can check the correct answer by solving this task in the CodeWorlds game.