Create New Type Alias

Use a code refactoring to swiftly create a new type alias.

Want to create a new type alias in your TypeScript code? Invoke the Refactor This popup with ^T (macOS) / Ctrl+Alt+Shift+T (Windows/Linux) on Windows/Linux, then select Extract Type Alias.

For object types, you can also use Extract Interface.


Related Resources

Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Extract Type Alias
Extract Type Alias
Learn how to extract a type alias in your TypeScript code.
Complete Current Statement
Complete Current Statement
Add curly braces and move the cursor with a single keystroke.