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

bug: files are missing final newlines #320

Closed
lucperkins opened this issue May 21, 2024 · 0 comments · Fixed by #321
Closed

bug: files are missing final newlines #320

lucperkins opened this issue May 21, 2024 · 0 comments · Fixed by #321
Labels
bug Something isn't working

Comments

@lucperkins
Copy link
Contributor

lucperkins commented May 21, 2024

Describe the bug

Many linters and related tools expect newlines at the end of files. As far as I can tell, ts-rs does not add one to generated .ts files, which I wouldn't necessarily classify as a bug but I think that it's more surprising to not have one than to have one.

To Reproduce

Generate any new .ts files.

Expected behavior

Generated .ts files have a newline at the end.

Screenshots

N/A

Version

8.1.0

Additional context

N/A

@lucperkins lucperkins added the bug Something isn't working label May 21, 2024
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