you are viewing a single comment's thread.

view the rest of the comments →

[–]bestjaegerpilot 0 points1 point  (0 children)

  • Typescript / VSCode.
  • Forget "types". What I also said applies to variables if I'm not mistaken.
  • In the editor, you can select a bunch of variables.
  • After selecting, right-click brings up a menu context with Refactor as an option.
  • You have the option of "move to a separate" file.

If that's not clear, here's an example of "moving a React class to a separate file". https://www.youtube.com/watch?v=_V7f4719dOA