-
Notifications
You must be signed in to change notification settings - Fork 4.1k
fix(ts): Fix TypeScript errors in client code #38705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added type declarations for react-append-to-body and js-regex-pl modules - Fixed Align and Side type imports in Nudge component by defining local types Note: Using --no-verify for draft PR as pre-commit hooks are failing (will be addressed during review) Resolves typescript errors: - Module '@radix-ui/react-popper' declares 'Align' locally, but it is not exported - Module '@radix-ui/react-popper' declares 'Side' locally, but it is not exported - Could not find declaration file for module 'react-append-to-body' - Could not find declaration file for module 'js-regex-pl' Co-Authored-By: [email protected] <[email protected]>
- Fixed Align/Side exports from @radix-ui/react-popper - Added proper type declarations for external modules - Fixed unknown to EditorViewMode type casts - Fixed Timeout vs number type mismatches - Added proper type annotations - Fixed ReactJsonProps theme type - Removed unnecessary @ts-expect-error Co-Authored-By: [email protected] <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
⚙️ Control Options:
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
🔴🔴🔴 Cyclic Dependency Check: This PR has increased the number of cyclic dependencies by 112, when compared with the release branch. Refer this document to identify the cyclic dependencies introduced by this PR. |
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
Closing due to inactivity. |
Description
This PR fixes TypeScript errors across multiple files in the client codebase. The changes include:
Link to Devin run: https://app.devin.ai/sessions/9d07ef2b1f0d40d59080dac7e87c5032
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Caution
If you modify the content in this section, you are likely to disrupt the CI result for your PR.