Skip to content
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

Call clearFiles on internal EmitOutput diagnostics, pass args down #4482

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Apr 25, 2024

Emitting produces diagnostics. Unfortunately, these are marked as internal so were missed (microsoft/TypeScript#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.

@jakebailey jakebailey changed the title Call clearFiles on internal EmitOutput diagnostics Call clearFiles on internal EmitOutput diagnostics, pass args down Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant