index.d.ts 916 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. declare module '*.svg' {
  2. export default SVGAElement;
  3. }
  4. declare module '*.png';
  5. declare module '*.jpg';
  6. declare module '*.jpeg';
  7. declare module '*.gif';
  8. declare module '*.bmp';
  9. declare module '*.tiff';
  10. declare module '@element-plus/icons/lib/*.js' {
  11. import { VNode } from 'vue';
  12. export default VNode;
  13. }
  14. declare module '*.vue' {
  15. import type { DefineComponent } from 'vue';
  16. const component: DefineComponent;
  17. export default component;
  18. }
  19. export declare global {
  20. interface Window {
  21. vPlayArea: any;
  22. theSocket: any;
  23. VideoPlay: any;
  24. slectOptionmini: any;
  25. InitWebSocketClass: any;
  26. lib: any;
  27. rem: string | number | undefined | null;
  28. dpr: string | number | undefined | null;
  29. minemap: {
  30. Map: any;
  31. Marker: any;
  32. Popup: any;
  33. LngLat: any;
  34. util: {
  35. getJSON(url: string, callback: (error: Error, data: any) => void): void;
  36. };
  37. };
  38. }
  39. }