-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
TypeScript 3.7 — LanguageService.getEmitOutput returns an empty result #33936
Comments
A few other observations:
|
Reverts 5b0cdad but keeps the build version of TS locked at 3.6.3 due to microsoft/TypeScript#33936
Reverts 5b0cdad Blocked from check in due to microsoft/TypeScript#33936
Your tsconfig doesn't have "declaration" enabled and hence its not generating it. 11fd654 changed the way emitOnlyDts works because I had mixed forcing d.ts emit to be always generated with API |
Thanks. If I monkey patch the TS source to set |
Reverts 5b0cdad Blocked from check in due to microsoft/TypeScript#33936
Reverts 5b0cdad Blocked from check in due to microsoft/TypeScript#33936
* Re-enable building VS Code with TS 3.7 Reverts 5b0cdad Blocked from check in due to microsoft/TypeScript#33936 * update d.ts for ts 3.7
TypeScript version: 3.7.0-dev.20191010
We're trying to build VS Code using TS 3.7. As part of this, we use TypeScript
LanguageService.getEmitOutput
method to request the emittedd.ts
of various files: https://github.com/microsoft/vscode/blob/363b9769412fea0d9aef07fa1801371c14d72741/build/monaco/api.ts#L619WIth TS 3.6,
getEmitOutput
ends up returning a result. However with TS 3.7, it returns an empty array starting on one file:vs/editor/common/standalone/standaloneBase
/cc @DanielRosenwasser
The text was updated successfully, but these errors were encountered: