Unexpected circularly references error in VSCode #50795
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Bug Report
π Search Terms
π Version & Regression Information
β― Playground Link
cannot reproduce in playground
π» Code
π Actual behavior
In vscode with TS version > 4.6.4 it reports
'Foo' is referenced directly or indirectly in its own type annotation.ts(2502)
. But it works well in the playground.This is first reported by @TechQuery in #50792 (comment), and I realize it may be related to #50161 and #50191 since the behavior is quite similar.
π Expected behavior
No error.
The text was updated successfully, but these errors were encountered: