ts-api-utils
ts-api-utils copied to clipboard
feat: add `iterateTokens` method
PR Checklist
- [x] Addresses an existing open issue: #755
- [ ] That issue was marked as
status: accepting prs - [x] Steps in CONTRIBUTING.md were taken
Overview
Part of #755, this one is unlike forEachComments, we only need yield tokens.
We can decide what to do with the comments in a follow-up pr.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 61.00%. Comparing base (491c037) to head (a208135).
Additional details and impacted files
@@ Coverage Diff @@
## main #756 +/- ##
=======================================
Coverage 61.00% 61.00%
=======================================
Files 35 35
Lines 2921 2921
Branches 463 464 +1
=======================================
Hits 1782 1782
Misses 1139 1139
| Flag | Coverage Δ | |
|---|---|---|
| 4.8.4 | 58.61% <100.00%> (ø) |
|
| latest | 60.32% <100.00%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.