Deprecate sum in favor of Math.sumPrecise#21
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage ∅ diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ ∅ diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (88f8a3b) Report Missing Report Missing Report Missing Head commit (a900d9c) 1044 (+0) 1001 (+0) 95.88% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#21) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…sumPrecise Agent-Logs-Url: https://github.com/edouardmisset/utils/sessions/8033044a-0e9d-49fd-a415-598c379d5dc5 Co-authored-by: edouardmisset <63284636+edouardmisset@users.noreply.github.com>
sum in favor of Math.sumPrecise
|
@copilot I get an error when I run: TS2339 [ERROR]: Property 'sumPrecise' does not exist on type 'Math'. error: Type checking failed. I know |
Agent-Logs-Url: https://github.com/edouardmisset/utils/sessions/7e59bbbf-5fb2-4fa1-a08d-c8c4b30499d9 Co-authored-by: edouardmisset <63284636+edouardmisset@users.noreply.github.com>
Fixed in a900d9c by changing the migration code block annotation from |
@deprecatedJSDoc tag tosumfunction inmath/sum.tswith migration note pointing toMath.sumPrecisetypescript ignoreto avoid TS2339 type error (Math.sumPreciseis Baseline 2026 and not yet in TypeScript's lib definitions)