fix(types): remove duplicate source property in RetentionScore interface#287
fix(types): remove duplicate source property in RetentionScore interface#287fuleinist wants to merge 1 commit into
Conversation
Duplicate on line 842 was shadowing the original on line 835, making retention score reads unpredictable. Removes the duplicate per issue rohitg00#277.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR updates the ChangesRetention Score Type Extension
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@fuleinist is attempting to deploy a commit to the rohitg00's projects Team on Vercel. A member of the Team first needs to authorize it. |
Summary
Duplicate
sourceproperty inRetentionScoreinterface (src/types.ts):TypeScript silently accepts duplicate property declarations, but the later declaration shadows the earlier one. Any code reading
retentionScore.sourcegets unpredictable behavior depending on object creation order.Fix: Remove the duplicate on line 842.
Testing
npm run typecheck # should pass, no duplicate property warningIssue
Fixes #277
Summary by CodeRabbit