Skip to content

Typescript 2.6 errors on export default #999

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

Closed
sandersn opened this issue Oct 17, 2017 · 0 comments
Closed

Typescript 2.6 errors on export default #999

sandersn opened this issue Oct 17, 2017 · 0 comments

Comments

@sandersn
Copy link
Contributor

Version

3.0.0

Reproduction link

microsoft/TypeScript#18444

Steps to reproduce

What is expected?

No error.

What is actually happening?

Error: The expression of an export assignment must be an identifier or qualified name in an ambient context.


This error is new in Typescript 2.6. It disallows the export of expressions, including object literals like { Store, install }. We found this error when testing popular packages with Typescript 2.6 RC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant