You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There, the TypeScript compiler errors with "Variable declaration expected" because the variable has the name default. To solve the issue the file must be manually edited as to match the following:
declareconstexample="foo";exportdefaultexample;
The text was updated successfully, but these errors were encountered:
octogonz
added
bug
Something isn't working as intended
help wanted
If you're looking to contribute, this issue is a good place to start!
and removed
help wanted
If you're looking to contribute, this issue is a good place to start!
labels
Jan 2, 2019
Minimal example
Use the following snippet as entry file.
This outputs:
There, the TypeScript compiler errors with "Variable declaration expected" because the variable has the name
default
. To solve the issue the file must be manually edited as to match the following:The text was updated successfully, but these errors were encountered: