feat: 添加对 .md 文件的类型声明
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 3m7s
/ lint-build-and-check (push) Successful in 5m27s
/ playwright (push) Successful in 1m40s
/ surge (push) Successful in 3m10s
/ cleanup_surge (push) Successful in 49s

This commit is contained in:
严浩
2025-05-02 23:10:38 +08:00
parent 6f06a36e44
commit 695e583136
6 changed files with 27 additions and 11 deletions

13
src/types/vue-shim.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
declare module '*.vue' {
import type { ComponentOptions } from 'vue';
const Component: ComponentOptions;
export default Component;
}
declare module '*.md' {
import type { ComponentOptions } from 'vue';
const Component: ComponentOptions;
export default Component;
}