Skip to content

Cannot use classes like ItemNotFoundError because target is set to es5 #21

@powerpaul17

Description

@powerpaul17

I cannot check an error with instanceof ItemNotFoundError because in the compiled file classes get converted into functions. I think it is because you target es5 in the tsconfig.json.

I don't know if it is desired/necessary to target es5 for some reason, otherwise would it be possible to change it to es6?

Thank you for this great project! 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions