microsoft / microsoft/TypeScript
Comment referencing an undefined `ClassDecoratorFunction` type
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
Bug Report
🔎 Search Terms
ClassDecoratorFunction, decorators.d.ts, lib ClassDecoratorContext
🕗 Version & Regression Information
From https://github.com/microsoft/TypeScript/commit/5b1897969769449217237aecbe364f823096c63e
💻 Code
In
https://github.com/microsoft/TypeScript/blob/b1ef88c882ca64c7dc6f4ba8b1c578a6a77981e5/src/lib/decorators.d.ts#L38
The ClassDecoratorFunction type is not defined.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/lib/decorators.d.ts#L38 and inspect the surrounding decorator declarations and ClassDecoratorContext references. Determine how ClassDecoratorFunction is intended to be declared, then verify that the declaration no longer references an undefined type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100