TypeScript/tests/baselines/reference/staticIndexer.errors.txt
2016-01-13 18:35:51 -08:00

9 lines
325 B
Plaintext

tests/cases/compiler/staticIndexer.ts(2,5): error TS1071: 'static' modifier cannot appear on an index signature.
==== tests/cases/compiler/staticIndexer.ts (1 errors) ====
class C {
static [s: string]: number;
~~~~~~
!!! error TS1071: 'static' modifier cannot appear on an index signature.
}