Skip to content

Add undefined to Symbol.declarations' type #42975

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

Merged
merged 4 commits into from
Mar 1, 2021

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Feb 26, 2021

Symbol.declarations now has type Declaration[] | undefined.

Symbol.declarations now has type `Declaration[] | undefined`.

I made a mistake somewhere in the checker related to JS checking, so
there are quite a few test failures right now.
@sandersn sandersn added the Housekeeping Housekeeping PRs label Feb 26, 2021
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Feb 26, 2021
@ajafff
Copy link
Contributor

ajafff commented Feb 26, 2021

While you are at it, could you fix the rest of #24706 as well?

Copy link
Contributor

@elibarzilay elibarzilay left a comment

Choose a reason for hiding this comment

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

No good understanding of the highlevel change, but two picky comments...

@sandersn sandersn merged commit aa67b16 into master Mar 1, 2021
@sandersn sandersn deleted the add-undefined-to-Symbol.declarations branch March 1, 2021 22:32
@sandersn
Copy link
Member Author

sandersn commented Mar 1, 2021

@ajaff I'm going to see how easy it is to fix valueDeclaration too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug Housekeeping Housekeeping PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants