microsoft / microsoft/TypeScript
Recursive types error: Type instantiation is excessively deep
Offen
@weswigham arbeitet bereits daran.
Seit 11.10.2021.
Needs Investigation
Rescheduled
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.4k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 117
Beschreibung
Bug Report
I had got error Type instantiation is excessively deep and possibly infinite. in my JSON types - value to JSON transformation.
It's some new limitation introduced from v4.3.2?
Works fine with v4.2.4.
🕗 Version & Regression Information
- This changed between versions 4.2.4 and 4.3.2
⏯ Playground Link
I couldn't get to make a short and simple example because when I removing any recursive type reference then error will disappeared.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.