Document helpers needed per target platform
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- documentation
Research direction
Start by reviewing the tslib helper inventory and how tsc targets such as es2017 and es2018 affect emitted helpers, including async/await. Done means documenting which helpers are needed for each target and clarifying when importing tslib is necessary.
Written by the indexing model from the issue text.
Description
So, apparently we need these helpers (quite like polyfills) to target platforms, which don't have some of the newer features yet (like async/await). Ok.
However, if I target es2017, es2018 (or es2025 when it comes), tsc will produce code that doesn't need to rely on these helpers, and there's no need for this lib?
Would it make sense to document which helpers are required on which target, so I can judge if I need this library at all?
(Why external library? Why not just bundle this functionality into typescript, which already seems to have a copy of these helpers anyway - tslib is needed only to import the helpers instead of multiplying them now?)
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from microsoft/tslib
-
Difficulty 1/5 Under an hour Newbie friendliness 1/100
-
question
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Doist/todoist-cli#576 ·
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CopilotKit/aimock#491 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
agilepathway/label-checker#710 · 2 comments ·
Maintainers usually reply within 1 day