-
Notifications
You must be signed in to change notification settings - Fork 116
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
Implementing typescript doc_string #102
Conversation
thanks for the PR! Could you take a look at the merge conflict? Once it's resolved, I'd love to merge this. |
I think this solve the conflict. |
Adding doc_string to enum Adding doc_string to newtype Implement doc_string for tuple Implement doc_string for tuple Fix test
I have an idea of taking multi-line docstring as But I'm not sure how to implement this. Any idea? Ps. Currently you have to manually type as |
@Mattchine Sorry for the late reply. I currently don't have much time for the project, though I hope that will change soon.
I think it should be possible to parse vanilla doc-comments ( I feel like it would make sense to use a similar syntax for |
This would be awesome! If you feel uncertain about whether to translate all docs from RS to TS - how about:
|
This has been inactive since 2022 and #187 seems to reimplement it, so I'll be closing this PR |
Example in test file.
Fix my ts-to-zod issue.
Ps. I don't think passing comment from
rust
tots
is necessary so I decided to implement it as docstring