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

Supporting TSDoc in deno doc and dts emit #494

Open
4 tasks
lucacasonato opened this issue May 8, 2024 · 1 comment
Open
4 tasks

Supporting TSDoc in deno doc and dts emit #494

lucacasonato opened this issue May 8, 2024 · 1 comment
Labels
feature New feature or request

Comments

@lucacasonato
Copy link
Member

Right now we only support TS type annotations in .ts files for both deno doc and fast check emit. We do not understand type annotations in TSDoc comments in .js files as of yet. We could do this, but it would require significant effort:

  • New JSDoc / TSDoc parser that can handle parsing type expressions
  • deno doc needs to understand type expressions in TSDoc
  • Fast check needs to understand type expressions in TSDoc
  • Fast check needs to emit type expressions in TSDoc to .d.ts files
@hrgdavor
Copy link

hrgdavor commented May 25, 2024

This is a blocker for me. I hope there more others like me regarding this issue, so there is incentive to tackle this.

I want to be typescript friendly, but refuse to to use it directly. It is my personal preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Needs Plan
Development

No branches or pull requests

2 participants