TypeScript/tests/baselines/reference/stringIndexerAndConstructor1.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
270 B
Plaintext

==== tests/cases/compiler/stringIndexerAndConstructor1.ts (1 errors) ====
interface I {
[s: string]: number;
"": string;
~~~~~~~~~~~
!!! error TS2411: Property '""' of type 'string' is not assignable to string index type 'number'.
}