We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5285f commit 0b80962Copy full SHA for 0b80962
test/transformer/descriptor/generic/extends.test.ts
@@ -247,9 +247,11 @@ describe('for generic', () => {
247
describe('with circular', () => {
248
interface A extends ClassWithGenerics<A> {
249
b: number;
250
+ B: B;
251
}
252
interface B extends ClassWithGenerics<B> {
253
c: string;
254
+ A: A;
255
256
257
it('should avoid infinite extension', () => {
@@ -259,6 +261,7 @@ describe('for generic', () => {
259
261
expect(propertiesA.b).toBe(0);
260
262
expect(propertiesB.a.a.a.c).toBe('');
263
expect(propertiesB.c).toBe('');
264
+ expect(propertiesB.A.B.A.a.b).toBe(0);
265
});
266
267
0 commit comments