Skip to content

error TS2300: Duplicate identifier #114

@squarepants

Description

@squarepants

I think it's very important to tell users use "exclude" or "files" in project "tsconfig.json".

If we don't write those in "tsconfig.json", we'll get bunch of errors tells us "Duplicate identifier" in "typescript" module. and the solution to this problem is to tell "tsc" what files we want to compile.

    "exclude": [
        "node_modules"
    ]

Sometimes users just switch loader, because the solution to this problem is not easy to find.

So I think it will be nice to have some instructions in docs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions