microsoft / microsoft/tslib

Dead tslib.es6.js code

Open
#132 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

The ESM specification was introduced together with the ES6 (or ES2015) features like:

  • let
  • const
  • Object.assign
  • Classes

For this reason two tslib.es6.js metods like: __extends, __assign (maybe more) may be deleted. Even var declarations can be updated to let and const.

Contributor guide

No contributing guide indexed for this repository

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 by inspecting tslib.es6.js and compare its helpers with the ES6/ES2015 features listed in the issue. Determine which helpers or var declarations are genuinely unnecessary, then check the repository's generation and test workflow. Done means the obsolete ES6 helper code is removed or modernized without breaking the runtime library.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.