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

Fix46246 #46357

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix46246 #46357

wants to merge 3 commits into from

Conversation

@HarsheetKakar
Copy link

@HarsheetKakar HarsheetKakar commented Oct 14, 2021

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.

@microsoft-cla
Copy link

@microsoft-cla microsoft-cla bot commented Oct 14, 2021

CLA assistant check
All CLA requirements met.

@HarsheetKakar
Copy link
Author

@HarsheetKakar HarsheetKakar commented Oct 14, 2021

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

@orouz
Copy link
Contributor

@orouz orouz commented Oct 14, 2021

@HarsheetKakar

there's a chat on discord

@HarsheetKakar
Copy link
Author

@HarsheetKakar HarsheetKakar commented Oct 14, 2021

@HarsheetKakar

there's a chat on discord

Thanks @orouz

Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

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

src/compiler/checker.ts Show resolved Hide resolved
@sandersn sandersn added this to Waiting on reviewers in PR Backlog Oct 25, 2021
@HarsheetKakar
Copy link
Author

@HarsheetKakar HarsheetKakar commented Dec 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
PR Backlog
  
Waiting on reviewers
Linked issues

Successfully merging this pull request may close these issues.

4 participants