-
Notifications
You must be signed in to change notification settings - Fork 13
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
typescriptServices.js was removed... #9
Comments
Can you clarify what error you're getting? When running with v4.9.3 I got the following error
I was able to resolve the issue by removing this line from the end of the file: //# sourceMappingURL=typescript.js.map I've bumped the default Typescript version to 4.9.3 in #10. I'll probably merge that soon barring any other issues that are discovered from the change you cited microsoft/TypeScript#51387. |
I don't remember it was a bunch of errors. Let me try it again later. |
even when removing the map file (and the initial comment), it still didnt work. I am using this btw: https://raw.githubusercontent.com/microsoft/TypeScript/main/lib/typescript.js
|
So a few things: Please don't use The reason for the above error is that we bumped TypeScript to emit ES2018 (so, we have native generator functions), which is newer than what goja supports. If you want to use typescript with an even lower target, you can run it through another downleveling step; easiest just to call |
microsoft/TypeScript#51387
when i use the 'typescript.js' it doesnt seem to work. Any clue?
The text was updated successfully, but these errors were encountered: