microsoft / microsoft/tsdoc

No types in comments?

Open
#180 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

general discussion
Dominant language
TypeScript
Stars
5k
Forks
162
Avg merge
17h 24m
Merged PRs (30d)
8

Description

I tried the playground, but when I try something like

* @param {number} x - The first input number

it gives

(7,4): The @param block should be followed by a parameter name
(7,11): Expecting a TSDoc tag starting with "{@"
(7,18): The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the playground example and the three diagnostics produced for the @param block. Read the TSDoc comment syntax and parser behavior around parameter type annotations, then determine the intended handling for this JSDoc-style form. Done should mean the issue has a documented decision and corresponding behavior or clearly specified rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.