Skip to content

[Bug] Transformer step fails when TS major/minor version is 0 #286

Closed
@chcatf

Description

@chcatf

Hello,

There is an issue with src/transformer.ts, when the TypeScript version is parsed if the major or minor version is 0 it will throw an error due to 0 being falsy since it's mapped to a number, see here

While this may not be an issue if support for 5.0.x is dropped, it presumably would be once 6.0 is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions