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

13 lines
517 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/duplicateStringNamedProperty1.ts(2,5): error TS2300: Duplicate identifier '"artist"'.
tests/cases/compiler/duplicateStringNamedProperty1.ts(3,5): error TS2300: Duplicate identifier 'artist'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/duplicateStringNamedProperty1.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
export interface Album {
"artist": string;
2014-10-01 02:15:18 +02:00
~~~~~~~~
!!! error TS2300: Duplicate identifier '"artist"'.
2014-07-13 01:04:16 +02:00
artist: string;
2014-10-01 20:27:20 +02:00
~~~~~~
!!! error TS2300: Duplicate identifier 'artist'.
2014-07-13 01:04:16 +02:00
}