16 lines
310 B
Text
16 lines
310 B
Text
|
==== tests/cases/compiler/interfaceDeclaration2.ts (1 errors) ====
|
||
|
interface I1 { }
|
||
|
module I1 { }
|
||
|
|
||
|
interface I2 { }
|
||
|
class I2 { }
|
||
|
~~
|
||
|
!!! Duplicate identifier 'I2'.
|
||
|
|
||
|
interface I3 { }
|
||
|
function I3() { }
|
||
|
|
||
|
interface I4 { }
|
||
|
var I4:number;
|
||
|
|
||
|
|