Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused private members from TypeScript files #2890

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

Nateowami
Copy link
Collaborator

@Nateowami Nateowami commented Dec 5, 2024

These were found by temporarily adding "noUnusedLocals": true to src/SIL.XForge.Scripture/ClientApp/tsconfig.json.

I did not persist the config change because the FeatureFlagService has private properties that are accessed via Object.values(this), but appear to not be used when only statically analyzed.


This change is Reviewable

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.36%. Comparing base (3c86fff) to head (c6bb0c6).
Report is 94 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2890      +/-   ##
==========================================
- Coverage   79.36%   79.36%   -0.01%     
==========================================
  Files         534      534              
  Lines       31076    31072       -4     
  Branches     5062     5045      -17     
==========================================
- Hits        24664    24659       -5     
- Misses       5622     5634      +12     
+ Partials      790      779      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RaymondLuong3 RaymondLuong3 force-pushed the fix/remove-unused-private-members branch from 95b0a63 to c6bb0c6 Compare December 6, 2024 21:43
Copy link
Collaborator

@RaymondLuong3 RaymondLuong3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Nateowami)

@RaymondLuong3 RaymondLuong3 merged commit 10465ef into master Dec 6, 2024
15 checks passed
@RaymondLuong3 RaymondLuong3 deleted the fix/remove-unused-private-members branch December 6, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants