23 lines
No EOL
689 B
Text
23 lines
No EOL
689 B
Text
tests/cases/compiler/recursiveBaseCheck.ts(2,11): error TS2310: Type 'C' recursively references itself as a base type.
|
|
|
|
|
|
==== tests/cases/compiler/recursiveBaseCheck.ts (1 errors) ====
|
|
declare module Module {
|
|
class C extends D {
|
|
~
|
|
!!! error TS2310: Type 'C' recursively references itself as a base type.
|
|
}
|
|
export class B extends Module.C {
|
|
}
|
|
export class A extends Module.B {
|
|
}
|
|
export class AmChart extends Module.A {
|
|
}
|
|
export class D extends AmChart {
|
|
}
|
|
export class E extends Module.D {
|
|
}
|
|
export class F extends Module.E {
|
|
}
|
|
}
|
|
|