You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migration refactorings after renaming from .js to .ts files #24713
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureDomain: LS: Refactoringse.g. extract to constant or function, rename symbolNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScript
At least week's design meeting, Sheetal Nandi (@sheetalkamat) had the idea that we should consider applying refactorings for when you rename a .js file to a .ts file.
I think this is definitely worth experimenting with. From the refactoring pipeline, I could imagine things like
moving from CommonJS to ES Modules
lifting JSDoc annotations
moving to classes
inferring from usages
Then there's project configuration. I could see
Generating a tsconfig.json
Installing @types dependencies for packages that need them.
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureDomain: LS: Refactoringse.g. extract to constant or function, rename symbolNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScript
Activity
[-]Apply migration refactorings after renaming from `.js` to `.ts` files[/-]