Files
tsgo/testdata/baselines/reference/submodule/compiler/declFileGenericClassWithGenericExtendedClass.errors.txt

18 lines
614 B
Plaintext

declFileGenericClassWithGenericExtendedClass.ts(10,5): error TS2564: Property 'derived' has no initializer and is not definitely assigned in the constructor.
==== declFileGenericClassWithGenericExtendedClass.ts (1 errors) ====
interface IFoo {
baz: Baz;
}
class Base<T> { }
class Derived<T> extends Base<T> { }
interface IBar<T> {
derived: Derived<T>;
}
class Baz implements IBar<Baz> {
derived: Derived<Baz>;
~~~~~~~
!!! error TS2564: Property 'derived' has no initializer and is not definitely assigned in the constructor.
}