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

feat(3792): Cannot 'export default' abstract, ambient class or interface #46120

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

Conversation

a-tarasyuk
Copy link
Contributor

@a-tarasyuk a-tarasyuk commented Sep 28, 2021

Fixes #3792
Fixes #3792 (comment)

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Sep 28, 2021
@typescript-bot
Copy link
Collaborator

The TypeScript team hasn't accepted the linked issue #3792. If you can get it accepted, this PR will have a better chance of being reviewed.

Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

This looks OK to me, but I'm going to formally defer to @rbuckton on this - I think he'll have some strong opinions on how and where decorators should be parsed for these constructs (and if they should be) that are probably worth considering. export default abstract class F {} in particular will likely have spec-described behavior, since it's a native syntax with an extra keyword thrown in.

@a-tarasyuk
Copy link
Contributor Author

@weswigham Thank you for the feedback 🚀. Okay, I'll be glad to hear @rbuckton's thoughts.

@weswigham weswigham assigned rbuckton and unassigned weswigham Mar 20, 2023
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
Status: Waiting on reviewers
Development

Successfully merging this pull request may close these issues.

Cannot 'export default' abstract, ambient class or interface
4 participants