refactor(typescript): fix SonarQube issues on extensible string types#1009
refactor(typescript): fix SonarQube issues on extensible string types#1009
Conversation
Replace all occurrences of `string & {}` with `string & Record<never, never>`
to avoid SonarQube warnings while preserving the loose autocomplete behavior
for string literal union types.
|
No actionable comments were generated in the recent review. 🎉 WalkthroughType definitions in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
|



Replace all occurrences of
string & {}withstring & Record<never, never>to avoid SonarQube warnings while preserving the loose autocomplete behavior
for string literal union types.
Summary by CodeRabbit