9 lines
423 B
Plaintext
9 lines
423 B
Plaintext
tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3.ts(2,5): error TS1169: Computed property names are not allowed in interfaces.
|
|
|
|
|
|
==== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3.ts (1 errors) ====
|
|
interface I {
|
|
["" + ""](): void;
|
|
~~~~~~~~~
|
|
!!! error TS1169: Computed property names are not allowed in interfaces.
|
|
} |