Skip to content

add a couple of missing options to be parsed #838

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

srabraham
Copy link

@srabraham srabraham commented Apr 30, 2025

As things are, tsgo basically ignores these fields in a tsconfig, so rewriting imports doesn't work.

Could there be a "default: panic" or similar in this switch? Or some test? That'd presumably help make this kind of bug less easy to come up again.

EDIT: This PR is mutually incompatible with my other one, #839. If #839 makes sense, I suggest you merge that one and close #838.

As things are, tsgo basically ignores these fields in my tsconfig.

Could there be a "default: panic" or similar in this switch? That'd
presumably help make this kind of bug less easy to come up again.
srabraham added a commit to srabraham/typescript-go that referenced this pull request Apr 30, 2025
This is a more comprehensive fix than microsoft#838. Future work would involve
doing the same sort of tests for non-Tristate types.
srabraham added a commit to srabraham/typescript-go that referenced this pull request Apr 30, 2025
This is a more comprehensive fix than microsoft#838. Future work would involve
doing the same sort of tests for non-Tristate types.
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.

1 participant