microsoft / microsoft/TypeScript
`RegExp.lastIndex` has no doc comment in `lib.es5.d.ts`
Open
Nobody has claimed this yet.
Bug
Domain: lib.d.ts
Help Wanted
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Search Terms
"lastIndex"
Suggestion
RegExp.lastIndex should have a doc comment - you can see it lacks one here: https://github.com/microsoft/TypeScript/blob/7fc456f2d70348725bbef92732b98a33c07f85ad/lib/lib.es5.d.ts#L944
MDN doc for the property can be found here.
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
Open lib.es5.d.ts around line 944 and compare the RegExp.lastIndex declaration with the MDN reference linked in the issue. Add the missing doc comment, then verify that the declaration contains the intended documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100