Skip to content

Fix46246 #46357

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
May 31, 2022
Merged

Fix46246 #46357

merged 4 commits into from
May 31, 2022

Conversation

HarsheetKakar
Copy link
Contributor

Fixes #46246

The new error message is : An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes

where {0} has the primitive type name e.g. any, number, string etc.

Please give feedback as this is my first PR on this repo.

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Oct 14, 2021
@ghost
Copy link

ghost commented Oct 14, 2021

CLA assistant check
All CLA requirements met.

@HarsheetKakar
Copy link
Contributor Author

On a side note can someone tell me if there is a slack group (or equivalent platform)?

@orouz
Copy link
Contributor

orouz commented Oct 14, 2021

@HarsheetKakar

there's a chat on discord

@HarsheetKakar
Copy link
Contributor Author

@HarsheetKakar

there's a chat on discord

Thanks @orouz

Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

Choose a reason for hiding this comment

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

I'm not sure of the right fix, but I think this one is too broad.

@HarsheetKakar
Copy link
Contributor Author

@DanielRosenwasser gentle reminder. I have applied the requested changes please let me know if it suffices.

@typescript-bot typescript-bot added For Backlog Bug PRs that fix a backlog bug and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unhelpful error message when interface ... extends number
5 participants