Visitar URL original
Add an extra test for excess property check for intersection containing a recursive type by Andarist · Pull Request #53100 · microsoft/TypeScript · GitHub
The Wayback Machine - https://web.archive.org/web/20230307185110/https://github.com/microsoft/TypeScript/pull/53100
Skip to content
New issue

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

Add an extra test for excess property check for intersection containing a recursive type #53100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Mar 5, 2023

closes #40405
it was fixed by #51140

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Mar 5, 2023
children: [
{
name: "Grand son",
children: [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated but your suggestion to move diagnostics around would make this less... squiggly, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, yes - but that wasn't covered by more PR. I only touched return and yield keywords. This one would have to "decorate" the property's key instead of the whole property. On principle though - yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect initialization type checking for conditional type
4 participants