mattpocock / mattpocock/ts-error-translator
Translation request for 2585
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
Error Text
'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.
Supporting Information
Please provide other information which led to this error, and any specific questions you have about it:
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
Search the TypeScript extension for the exact error text and inspect how existing error translations are organized. Add the missing plain-English translation for this message, then verify it appears through the extension's normal translation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- content
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100