microsoft / microsoft/TypeScript

Module plugin template is misleading

Open
#37,571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Docs
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Expected behavior:
I followed the template exactly and it can't do what it's claiming you can do. I would expect from the template that I could extend an existing module with a new function.
https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-plugin-d-ts.html

Actual behavior:
I am unable to extend the existing module with a new function.

https://github.com/MCKRUZ/TS-Plugin-HW

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 with the linked module-plugin template and reproduce the report using the linked TS-Plugin-HW repository. Compare the template's stated capability with the observed behavior; done means the documentation accurately explains whether and how an existing module can be extended with a new function.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
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.