-
Notifications
You must be signed in to change notification settings - Fork 12.8k
"Debug Failure. Unexpected node." with --allowjs over transpiled enums #36098
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
Comments
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Jan 9, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Jan 9, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Jan 9, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Jan 9, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
mgechev
pushed a commit
to angular/angular-cli
that referenced
this issue
Jan 9, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Jan 10, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
mgechev
pushed a commit
to angular/angular-cli
that referenced
this issue
Jan 10, 2020
Workaround for microsoft/TypeScript#36098. Should go back to 3.7 once it is fixed.
Awesome, thanks! |
I have been taking same error when require inside of a function while generate d.ts files from existing js files. Any suggestion ? |
Check if the nightly fixes it ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: 3.7.4
Search Terms:
allowjs
Debug Failure. Unexpected node.
Code
Note: in case it's relevant this js code is transpiled from TS. Having the comment and the import seem to be an integral part of the repro. I assume this is related to the allowJs changes in 3.7.
Expected behavior:
No
Debug Failure. Unexpected node.
error.Actual behavior:
Errored out in a weird way.
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: