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
mhegazy opened this issue
Mar 6, 2015
· 2 comments
Assignees
Labels
APIRelates to the public API for TypeScriptBugA bug in TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it
If you want to make modifications to a tree and emit that, you are required to write your own emitter as emitFiles is not exposed in the public .d.ts file. tools like: https://github.com/sitepen/dts-generator would not be able to leverage the compiler API.
The text was updated successfully, but these errors were encountered:
Seems like Program#emit might work OK for our use case? Other things were removed entirely like createEmitHostFromProgram that were important to the old way, but if Program can do it directly, then we’re probably in good shape.
That said, there are some bugs in declaration emitting ES6 modules syntax (#2220 and #2221), so I’m waiting for those to be addressed before I can verify this.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
APIRelates to the public API for TypeScriptBugA bug in TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it
If you want to make modifications to a tree and emit that, you are required to write your own emitter as emitFiles is not exposed in the public .d.ts file. tools like: https://github.com/sitepen/dts-generator would not be able to leverage the compiler API.
The text was updated successfully, but these errors were encountered: