TypeScript/tests/baselines/reference/stringIndexerAndConstructor1.errors.txt
2014-07-12 17:30:19 -07:00

7 lines
256 B
Plaintext

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