-
Notifications
You must be signed in to change notification settings - Fork 12.8k
feat(3792): Cannot 'export default' abstract, ambient class or interface #46120
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
Conversation
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. |
…/enums/declared classes
There was a problem hiding this 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.
@weswigham Thank you for the feedback 🚀. Okay, I'll be glad to hear @rbuckton's thoughts. |
Fixes #3792
Fixes #3792 (comment)