TypeScript/tests/baselines/reference/classWithMultipleBaseClasses.errors.txt

32 lines
699 B
Plaintext
Raw Normal View History

tests/cases/compiler/classWithMultipleBaseClasses.ts(18,7): error TS2420: Class 'D' incorrectly implements interface 'I'.
Property 'foo' is missing in type 'D'.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/classWithMultipleBaseClasses.ts (1 errors) ====
class A {
foo() { }
}
class B {
bar() { }
}
interface I {
baz();
}
interface J {
bat();
}
class D implements I, J {
~
!!! error TS2420: Class 'D' incorrectly implements interface 'I'.
!!! error TS2420: Property 'foo' is missing in type 'D'.
2014-07-13 01:04:16 +02:00
baz() { }
bat() { }
}
interface I extends A, B {
}