microsoft / microsoft/TypeScript
Recursive types error: Type instantiation is excessively deep
Aperta
@weswigham ci sta già lavorando.
Dal 11/10/2021.
Needs Investigation
Rescheduled
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.4k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.