env.d.ts 725 B

12345678910111213141516171819202122232425262728293031323334
  1. /// <reference types="vite/client" />
  2. declare module 'nprogress'
  3. declare module 'crypto-js'
  4. declare module 'vue-img-cutter'
  5. declare module 'file-saver'
  6. declare module 'qrcode.vue' {
  7. export type Level = 'L' | 'M' | 'Q' | 'H'
  8. export type RenderAs = 'canvas' | 'svg'
  9. export type GradientType = 'linear' | 'radial'
  10. export interface ImageSettings {
  11. src: string
  12. height: number
  13. width: number
  14. excavate: boolean
  15. }
  16. export interface QRCodeProps {
  17. value: string
  18. size?: number
  19. level?: Level
  20. background?: string
  21. foreground?: string
  22. renderAs?: RenderAs
  23. }
  24. const QrcodeVue: any
  25. export default QrcodeVue
  26. }
  27. // 全局变量声明
  28. declare const __APP_VERSION__: string // 版本号