Skip to content

Using betterer with alternative typescript version #1133

Closed

Description

@iyegoroff

Hi @phenomnomnominal !

I want to upgrade typescript version in a project that uses outdated version. Is it possible to specify an alternative version of typescript inside betterer test?

Activity

  1. phenomnomnominal commented on Sep 16, 2024

    @phenomnomnominal
    Owner

    Sorry for never getting back to you on this!

    I'm sure this is no longer useful, but just for the record I think the solution here would be to make a local copy of the typescript test and import the newer version of TypeScript there. Otherwise maybe some shenanigans with a workspace to have a folder with a different version of TS installed maybe? I can't think of a good way to do it with the main @betterer/typescript package without locking it to a TS version which feels like a mistake overall?

    Let me know if you came up with a solution!

  2. Repository owner locked and limited conversation to collaborators on Oct 12, 2024
  3. converted this issue into a discussion #1227 on Oct 12, 2024
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions