
Want to create a new type alias in your TypeScript code? Invoke the Refactor This popup with Ctrl+T on macOS or Ctrl+Alt+Shift+T on Windows/Linux, then select Extract Type Alias.
For object types, you can also use Extract Interface.
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 Ctrl+T on macOS or Ctrl+Alt+Shift+T on Windows/Linux, then select Extract Type Alias.
For object types, you can also use Extract Interface.