2014-10-01 02:15:18 +02:00
|
|
|
tests/cases/compiler/interfaceDeclaration2.ts(4,11): error TS2300: Duplicate identifier 'I2'.
|
2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/interfaceDeclaration2.ts(5,7): error TS2300: Duplicate identifier 'I2'.
|
|
|
|
|
|
|
|
|
2014-10-01 02:15:18 +02:00
|
|
|
==== tests/cases/compiler/interfaceDeclaration2.ts (2 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
interface I1 { }
|
|
|
|
module I1 { }
|
|
|
|
|
|
|
|
interface I2 { }
|
2014-10-01 02:15:18 +02:00
|
|
|
~~
|
|
|
|
!!! error TS2300: Duplicate identifier 'I2'.
|
2014-07-13 01:04:16 +02:00
|
|
|
class I2 { }
|
|
|
|
~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2300: Duplicate identifier 'I2'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
interface I3 { }
|
|
|
|
function I3() { }
|
|
|
|
|
|
|
|
interface I4 { }
|
|
|
|
var I4:number;
|
|
|
|
|
|
|
|
|