fix: remove deprecated @ts-ignore in federation-matrix#38557
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
WalkthroughRemoved TypeScript ignore directives from AJV validator declarations in two federation Matrix API files and made a test safer by replacing a non-null assertion with a conditional guard. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
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 Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
d780d05 to
1579c59
Compare
Proposed changes (including videos or screenshots)
Improved type safety in
@rocket.chat/federation-matrixby removing deprecated@ts-ignorecomments and fixing a non-null assertion.Issue(s)
N/A
Steps to test or reproduce
Run lint to verify warnings are fixed:
Expected result: Exit code 0, no warnings (previously had 7 warnings)
Run tests to ensure no functionality broke
Expected result: All 82 tests pass
Summary by CodeRabbit
Chores
Tests