microsoft / TypeScript-Handbook

Deprecated, please use the TypeScript-Website repo instead
https://github.com/microsoft/TypeScript-Website
Apache License 2.0
4.88k stars 1.13k forks source link

Outdated information about circular references of type aliases #1328

Open evelynhathaway opened 4 years ago

evelynhathaway commented 4 years ago

In the section on type aliases, the comment and example about them erroring on the right side of the declaration is no longer accurate since TypeScript v3.7. (Playground)

Another example explaining when circular references are allowed and when they are disallowed in newer versions of TypeScript would be beneficial.