Move to new file refactoring Extract one or more classes, functions, or constants to a new file in JavaScript and TypeScript.