Skip to content

Not compatible with TypeScript v4.8+ - decorators are now under modifiers  #158

@rluvaton

Description

@rluvaton

In TypeScript version 4.8, one of the breaking changes are decorators property moved to be modifiers

Decorators are placed on modifiers on TypeScript's Syntax Trees

and this line and maybe more does not support it and causing this library to be incompatible

const decorators = node.decorators;

I can try to create a PR, I just wanna know if it's gonna be reviewed as this project does not look super maintained...

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