17 lines
No EOL
423 B
Text
17 lines
No EOL
423 B
Text
==== tests/cases/compiler/interfaceImplementation2.ts (1 errors) ====
|
|
interface I1 {
|
|
iObj:{ };
|
|
iNum:number;
|
|
iAny:any;
|
|
iFn():void;
|
|
}
|
|
|
|
class C3 implements I1 {
|
|
~~
|
|
!!! Class 'C3' incorrectly implements interface 'I1':
|
|
!!! Property 'iFn' is missing in type 'C3'.
|
|
public iObj:{ };
|
|
public iNum:number;
|
|
public iAny:any;
|
|
}
|
|
|