CMU-17313Q / NodeBB-f23

GNU General Public License v3.0
0 stars 39 forks source link

Translating src/rewards/admin from JS to TS #88

Open aishaalsubaie opened 1 year ago

aishaalsubaie commented 1 year ago

I translated the javascript file src/rewards/admin.js into typescript. The import statements replaced require, type annotations were added to function parameters and variables, and interfaces defined the shapes of objects.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 6024978051


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/rewards/admin.js 52 61 85.25%
<!-- Total: 52 61 85.25% -->
Files with Coverage Reduction New Missed Lines %
src/messaging/notifications.js 1 96.55%
src/database/mongo/hash.js 2 88.07%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 5912059056: -0.02%
Covered Lines: 22610
Relevant Lines: 25371

💛 - Coveralls