This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Duplicated name error when doing method overload in a class #434
Closed
Description
What version of TypeScript are you using?
2.6.2
What version of typescript-eslint-parser
are you using?
11.0.0
What code were you trying to parse?
class Example {
public doThing(type: string): void;
public doThing(idType: number): void;
public doThing(type: string | number): void {
}
}
What did you expect to happen?
No errors when running with no-dupe-class-members
rule enabled and method overload in the class.
What happened?
3:5 error Duplicate name 'doThing' no-dupe-class-members
4:5 error Duplicate name 'doThing' no-dupe-class-members