-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
export default
enums causes error
#3320
Comments
This is by design - ES6 just supports enum Foo {
Bar, Baz
}
export default Foo; |
I'd prefer to have this default export a first class citizen of the language, too. Same fo If the workaround is trivial then I belive it should be integrated with the language, so one isn't required to remember this workaround every time it occurs. |
I would also vote for making |
I'm OK with leaving it as is if the reasoning is that interfaces, et al, are not vaid EcmaScript and #3917 is implemented. |
causes
error. (file is
test.ts
)compiles successfully.
The text was updated successfully, but these errors were encountered: