Skip to content

Feature request: TypeScript Upgrade from 5.9 to 6.0 and later 7.0 on the entire server codebase #802

@CapoMK25

Description

@CapoMK25

What do you want to see in the API?

TypeScript should be upgraded from the 5.9 version to the 6.0 version and later 7.0 version very, very soon on this codebase. All of my unit tests files under src/__tests__/ folder have started showing all red and not finding anything defined there. The tests still work normally but this is more than likely a symptom of running TS 6.0 instead of 7.0.

Then on tsconfig.json I ran into this:

Image

How do you think this should work?

There should be a plan for this that I'm now implementing. Ideally these things should be uncovered:

  • How long can we go on the server with TS version 6.0 until things literally break.
  • How can we make sure we have a plan and action steps to migrate to TS 7.0 before all this happens.
  • How to do all this with absolute minimal disruption to the codebase
  • How to test this out on a different branch or something along those lines before moving this upgrade over to main and dev. Taking into account all the different dependencies that, some, haven't been touched in years this is never a simple operation.

Any additional info?

I'll post documentation on the matter here and start working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature to add

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions