vuejs / test-utils

Vue Test Utils for Vue 3
https://test-utils.vuejs.org
MIT License
1.05k stars 245 forks source link

fix: resolve TypeScript type errors in .vitepress/config #2549

Closed DDDDD12138 closed 5 days ago

DDDDD12138 commented 6 days ago

Before

There are some TypeScript type errors in the .vitepress/config directory : image

Description

This PR addresses and resolves TypeScript type errors found in the .vitepress/config directory. And the collapsable configuration has been removed in this vitepress PR, replaced by the new property collapsed, so I removed the unnecessary collapsable configuration.

netlify[bot] commented 6 days ago

Deploy Preview for vue-test-utils-docs ready!

Name Link
Latest commit 8d3025252a9d2d0d8877ead24ae4baffd0397330
Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/673dc3db19717500082987b3
Deploy Preview https://deploy-preview-2549--vue-test-utils-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

DDDDD12138 commented 5 days ago

Let me give it a try.

DDDDD12138 commented 5 days ago

Would you mind adding a check on Ci so we can catch these warnings in the future? I suppose running tsc in the docs directory would catch this.

I've added it. Considering that the theme/index.mts file imports .vue files, I used vue-tsc.