Skip to content

Does acorn-typescript perform identically to acorn on javascript? #14

Open
@mark-hahn

Description

@mark-hahn

I'm looking for a parsing solution for js and ts. Should I detect the file language and use acorn if js, or can I just use acorn-typescript and not worry whether it's js or ts?

Also, is there a loose version of acorn-typescript?

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