9 lines
424 B
Plaintext
9 lines
424 B
Plaintext
tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4.ts(2,5): error TS1170: Computed property names are not allowed in type literals.
|
|
|
|
|
|
==== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4.ts (1 errors) ====
|
|
var v: {
|
|
["" + ""](): void;
|
|
~~~~~~~~~
|
|
!!! error TS1170: Computed property names are not allowed in type literals.
|
|
} |