Skip to content

Invalid duplicate identifier errors in js file #24062

Closed
@mhegazy

Description

@mhegazy
// @ts-check

class C {
    prop = 0;
}

module.exports = {
    C // Duplicate identifier 'C'
};

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issuecheckJsRelates to checking JavaScript using TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions