13 lines
No EOL
517 B
Text
13 lines
No EOL
517 B
Text
tests/cases/compiler/duplicateStringNamedProperty1.ts(2,5): error TS2300: Duplicate identifier '"artist"'.
|
|
tests/cases/compiler/duplicateStringNamedProperty1.ts(3,5): error TS2300: Duplicate identifier 'artist'.
|
|
|
|
|
|
==== tests/cases/compiler/duplicateStringNamedProperty1.ts (2 errors) ====
|
|
export interface Album {
|
|
"artist": string;
|
|
~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier '"artist"'.
|
|
artist: string;
|
|
~~~~~~
|
|
!!! error TS2300: Duplicate identifier 'artist'.
|
|
} |