Hi Team,
I am looking for the typescript compiler. I had a look at the typescript playground, which is using getEmitOutput, but I cannot find how to use it myself. Could you please guide me on how to proceed ?
Thanks,
Nicolas
@jrieken Should we add getEmitOutput to monaco-typescript ?
We should expose the whole language service API or the promise'isified version of it so folks are free to do. Only things like the program or ASTs that cannot be JSONified we shouldn't expose
Do you have any timeline for this ?
Would be much appreciated
We don't really have a timeline for this but the good news is that we are accepting PRs :-).
Getting to the emitOutput is mostly about exposing this function and exposing more language service features in the worker - tho arguments and return types must JSON'able.
'Exposing' things happens in the createApi-function such that others can do something like this: monaco.languages.typescript.withWorker(uri1, uri2)...
I'm on it :)
we have it
Most helpful comment
We should expose the whole language service API or the promise'isified version of it so folks are free to do. Only things like the program or ASTs that cannot be JSONified we shouldn't expose