index.d.ts 801 B

12345678910111213141516171819202122232425262728293031323334353637
  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. lib: any;
  22. rem: string | number | undefined | null;
  23. dpr: string | number | undefined | null;
  24. minemap: {
  25. Map: any;
  26. Marker: any;
  27. Popup: any;
  28. LngLat: any;
  29. util: {
  30. getJSON(url: string, callback: (error: Error, data: any) => void): void;
  31. };
  32. };
  33. }
  34. }