Ben Lin
2025-03-08 21a4e09672b1177d40c2bb5b937a8780c5eaa7fb
types/global.d.ts
@@ -1,3 +1,11 @@
/*
 * @Description: file content
 * @Author: Ben Lin
 * @version:
 * @Date: 2024-06-18 15:09:48
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-19 17:09:40
 */
import type {
  ComponentRenderProxy,
  VNode,
@@ -21,6 +29,13 @@
  //   // Global vue app instance
  //   __APP__: App<Element>;
  // }
  // fix FullScreen type error
  interface Document {
    mozFullScreenElement?: Element;
    msFullscreenElement?: Element;
    webkitFullscreenElement?: Element;
  }
  // vue
  declare type PropType<T> = VuePropType<T>;
@@ -60,6 +75,7 @@
    VITE_USE_MOCK: boolean;
    VITE_PUBLIC_PATH: string;
    VITE_GLOB_APP_TITLE: string;
    VITE_GLOB_APP_TYPE: string;
    VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none';
  }