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

16 lines
324 B
Plaintext

==== tests/cases/compiler/interfaceDeclaration2.ts (1 errors) ====
interface I1 { }
module I1 { }
interface I2 { }
class I2 { }
~~
!!! error TS2300: Duplicate identifier 'I2'.
interface I3 { }
function I3() { }
interface I4 { }
var I4:number;