tc39 / tc39/ecmarkup

"Foo constructor" should autolink to the Foo constructor instead of just linking to the dfn of constructor

Open
#286 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
245
Forks
80
Avg merge
10h 46m
Merged PRs (30d)
2

Description

@marjakh brought this up: "String constructor" linking just the word "constructor" to the definition of what a constructor is isn't useful. Presumably, most of the time the reader would want to be able to click through to see what the String constructor does.

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 locating the autolinking logic that handles “Foo constructor” and links the term “constructor” to its definition. Check how a constructor’s Foo-specific definition can be selected, then verify that the phrase links to the Foo constructor rather than only to the generic constructor definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.