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

9 lines
319 B
Plaintext
Raw Normal View History

tests/cases/compiler/staticIndexer.ts(2,5): error TS1145: Modifiers not permitted on index signature members.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/staticIndexer.ts (1 errors) ====
class C {
static [s: string]: number;
~~~~~~
!!! error TS1145: Modifiers not permitted on index signature members.
2014-07-13 01:04:16 +02:00
}