Answer the question
In order to leave comments, you need to log in
Why doesn't typescript accept the parent's type?
Here is an example
https://www.typescriptlang.org/play?#code/KYDwDg9g...
With api comes a list of simple objects and extended ones, for this I made a simple type, an extended one and their combination.
It seems that in the processing I set explicit filtering by the field from the extended type,
but some kind of wild error pops up
No overload matches this call.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question