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

Not reporting TSC or TSX errors #66

Closed
leonitousconforti opened this issue Apr 7, 2024 · 1 comment · Fixed by #68
Closed

Not reporting TSC or TSX errors #66

leonitousconforti opened this issue Apr 7, 2024 · 1 comment · Fixed by #68
Labels
bug Something isn't working

Comments

@leonitousconforti
Copy link

What version of Effect is running?

2.4.11

What steps can reproduce the bug?

Add some invalid typescript or an invalid assert to an example, run docgen.

What is the expected behavior?

Docgen should report the TSC and TSX errors?

What do you see instead?

Docgen reports no errors

Additional information

Here is a repro, also tried updating all dependencies but still no change.

When I add debug logs to the output of the TSC command, I can see the errors and non-zero exit code, but docgen succeeds anyways:
Screenshot 2024-04-07 at 1 16 40 PM

@leonitousconforti leonitousconforti added the bug Something isn't working label Apr 7, 2024
@leonitousconforti
Copy link
Author

tested docgen 0.3.8 in my project and it works, seems to be 0.4.0 that isn't reporting tsc or tsx errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant