Skip to content

Migration refactorings after renaming from .js to .ts files #24713

Open

Description

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.

Matt Bierner (@mjbvz) Andrew Casey (@amcasey)

Activity

  1. changed the title [-]Apply migration refactorings after renaming from `.js` to `.ts` files[/-] on Jun 6, 2018
  2. added
    Suggestion
    Domain: LS: Refactorings
    on Jun 6, 2018
  3. added
    Needs Proposal
    In Discussion
    on Nov 6, 2018
  4. added
    Awaiting More Feedback
    on Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackDomain: LS: RefactoringsNeeds ProposalSuggestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions