microsoft / microsoft/TypeScript

Document behavior, gotchas, etc, for public TypeChecker API

Open
#53,239 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Docs Domain: API
Dominant language
Go
Stars
111k
Forks
14.4k
Avg merge
1d 19h
Merged PRs (30d)
117

Description

A common (valid) complaint about our public API is that we don't have any documentation for what the methods do, why to use them, why not to use them, the gotchas, etc.

In more recent API PRs (like #52467 and #52473), we've added descriptions, but we should do the same for the existing methods if possible.

Contributor guide

Open the contributing guide

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 by reviewing the descriptions added in PRs #52467 and #52473, then identify the existing public TypeChecker methods that lack comparable documentation. Document what each method does, when to use it, when not to use it, and its gotchas; done means the existing API has useful descriptions throughout.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.