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

9 lines
421 B
Plaintext
Raw Normal View History

2015-02-07 06:30:51 +01:00
tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer3.ts(2,13): error TS1023: An index signature parameter type must be 'string' or 'number'.
2015-01-26 23:34:22 +01:00
==== tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolIndexer3.ts (1 errors) ====
class C {
2015-02-04 00:52:06 +01:00
static [s: symbol]: string;
2015-02-07 06:30:51 +01:00
~
!!! error TS1023: An index signature parameter type must be 'string' or 'number'.
2015-01-26 23:34:22 +01:00
}