fix(docs/.vitepress/config): 修复docs/.vitepress/config.ts 文件中 typeScri…#30
Merged
webfanzc merged 1 commit intoZ-TEAM-Z:mainfrom Jan 27, 2026
Merged
fix(docs/.vitepress/config): 修复docs/.vitepress/config.ts 文件中 typeScri…#30webfanzc merged 1 commit intoZ-TEAM-Z:mainfrom
webfanzc merged 1 commit intoZ-TEAM-Z:mainfrom
Conversation
…pt 类型不兼容错误。
-- 错误原因: docs 依赖2.5.0版本的@shikijs/vitepress-twoslash 但vitepress本身依赖了3.x版本的@shikijs相关包,导致了冲突。
-- 解决办法: 将docs catalog中的@shikijs/vitepress-twoslash更新到兼容的版本
-- 其他修改: index文件的修改是因为可能是新版本的@shikijs/vitepress-twoslash与Vue的类型定义不兼容造成新的TypeScript错误, 使用了类型断言解决了这个问题
Walkthrough此 PR 在 VitePress 主题配置中为插件添加了 Vue Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
commit: |
Member
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Member
|
@webfanzc cc |
webfanzc
approved these changes
Jan 27, 2026
Contributor
lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…pt 类型不兼容错误。
Summary by CodeRabbit
发行说明
✏️ Tip: You can customize this high-level summary in your review settings.