-
Notifications
You must be signed in to change notification settings - Fork 9
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
Incorrect handling of newlines in /** */
-style docstrings
#38
Comments
Hmmm. I know this was an issue with an old version of rust-analyzer. Can you verify that the produced |
I can confirm that, for this type, I'm seeing the characters Sorry, I know that's not a very self-contained example. I can try to produce a minimal example if it's helpful. |
Can you test whether it still happens if you use triple slash |
That fixed it! |
Great! I will leave this issue open because it really should work with Let me know if you're interested in looking into a PR for this. |
/** */
-style docstrings
When tsify generates a doctring for a type definition, any newlines in the Rust doc comments appear as "\n" (two characters, "\" and "n") in the TypeScript docstring.
The text was updated successfully, but these errors were encountered: