We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: nightly (2.5.0-dev.20170719)
Code
class C { ["foo"](): void ["bar"](): void; ["foo"]() { return 0; } }
Expected behavior:
An error: the overload is being called "bar" where it should be "foo".
"bar"
"foo"
Actual behavior:
No error.
TypeScript Version: nightly (2.5.0-dev.20170719)
Code
Expected behavior:
An error: the overload is being called
"bar"where it should be"foo".Actual behavior:
No error.