TypeScript/tests/baselines/reference/parserIndexMemberDeclaration8.errors.txt

9 lines
443 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration8.ts(2,4): error TS1145: Modifiers not permitted on index signature members.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration8.ts (1 errors) ====
class C {
private [x: string]: string;
~~~~~~~
!!! error TS1145: Modifiers not permitted on index signature members.
2014-07-13 01:04:16 +02:00
}