monaco-editor
monaco-editor copied to clipboard
Call clearFiles on internal EmitOutput diagnostics, pass args down
Emitting produces diagnostics. Unfortunately, these are marked as internal so were missed (https://github.com/microsoft/TypeScript/pull/58317)
This change enables the playground to handle emit errors without crashing.
Also, pass args down so we can always get dts emit even on error.