We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightly build. For an example, see the typeorm error in #46610.
typeorm
https://www.typescriptlang.org/play?ts=4.5.0-dev.20211101#code/JYOwLgpgTgZghgYwgAgGKgCYHkAO05gD2UAPACoB8yA3gLABQyTyMhhAXMmQNwMC+DBmACeeNJgDChEBmBhg0gM7kqAXhoNmyANoAFZKGQBrCMMIwuAXQD8ndDKky5CkMrJ7LVAD7iZufESk9hiOsvJK5B4UFLz0fLEMMACuIAjhICxsJACi4HLCFAAUAJQajMwAbnBQyAAedpLSYS7KcCAFsVpVNfW+IU3OEbnyIjFMAPTjyNm1SIqKwBUoimCIRsgYEDhgABbI0FDE-AxAA
interface FindOperator<T> { foo: T; } type FindConditions<T> = { [P in keyof T]?: FindConditions<T[P]> | FindOperator<FindConditions<T[P]>>; }; function foo<Entity>() { var x: FindConditions<any>; var x: FindConditions<Entity>; // Excessive stack depth error }
Excessive stack depth error.
No excessive stack depth error (but still an error about the two declarations having different types).
The text was updated successfully, but these errors were encountered:
ahejlsberg
Successfully merging a pull request may close this issue.
🕗 Version & Regression Information
Nightly build. For an example, see the
typeorm
error in #46610.⏯ Playground Link
https://www.typescriptlang.org/play?ts=4.5.0-dev.20211101#code/JYOwLgpgTgZghgYwgAgGKgCYHkAO05gD2UAPACoB8yA3gLABQyTyMhhAXMmQNwMC+DBmACeeNJgDChEBmBhg0gM7kqAXhoNmyANoAFZKGQBrCMMIwuAXQD8ndDKky5CkMrJ7LVAD7iZufESk9hiOsvJK5B4UFLz0fLEMMACuIAjhICxsJACi4HLCFAAUAJQajMwAbnBQyAAedpLSYS7KcCAFsVpVNfW+IU3OEbnyIjFMAPTjyNm1SIqKwBUoimCIRsgYEDhgABbI0FDE-AxAA
💻 Code
🙁 Actual behavior
Excessive stack depth error.
🙂 Expected behavior
No excessive stack depth error (but still an error about the two declarations having different types).
The text was updated successfully, but these errors were encountered: