浏览代码

feat: 增加CSSProperties

TIANYONG 7 月之前
父节点
当前提交
6e559e766b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/shims-vue.d.ts

+ 6 - 0
src/shims-vue.d.ts

@@ -14,3 +14,9 @@ declare module '@vue/runtime-core' {
     $dayjs: dayjs.Dayjs
   }
 }
+
+declare module 'vue' {
+  interface CSSProperties {
+    '--barheight'?: string;
+  }
+}