feat: 添加对 .md 文件的类型声明

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

11
src/types/global.ts Normal file
View File

@@ -0,0 +1,11 @@
declare global {
const $__DEV__: boolean;
}
declare module 'vue' {
export interface ComponentCustomProperties {
$__DEV__: boolean;
}
}
export {};