TypeScript/tests/baselines/reference/interfaceImplementation4.errors.txt
Daniel Rosenwasser 6e77e2e810 Removed colons from diagnostic messages.
Also got rid of the 'terminalMessages' concept.
2014-10-28 00:48:58 -07:00

21 lines
620 B
Plaintext

tests/cases/compiler/interfaceImplementation4.ts(8,7): error TS2420: Class 'C5' incorrectly implements interface 'I1'.
Property 'iObj' is missing in type 'C5'.
==== tests/cases/compiler/interfaceImplementation4.ts (1 errors) ====
interface I1 {
iObj:{ };
iNum:number;
iAny:any;
iFn():void;
}
class C5 implements I1 {
~~
!!! error TS2420: Class 'C5' incorrectly implements interface 'I1'.
!!! error TS2420: Property 'iObj' is missing in type 'C5'.
public iNum:number;
public iAny:any;
public iFn() { }
}