mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
500 B
Plaintext
16 lines
500 B
Plaintext
/a.ts(2,13): error TS2456: Type alias 'A' circularly references itself.
|
|
/b.ts(2,13): error TS2456: Type alias 'B' circularly references itself.
|
|
|
|
|
|
==== /a.ts (1 errors) ====
|
|
import type { B } from './b';
|
|
export type A = B;
|
|
~
|
|
!!! error TS2456: Type alias 'A' circularly references itself.
|
|
|
|
==== /b.ts (1 errors) ====
|
|
import type { A } from './a';
|
|
export type B = A;
|
|
~
|
|
!!! error TS2456: Type alias 'B' circularly references itself.
|
|
|