index.d.ts 697 B

12345678910111213141516171819202122232425262728293031323334
  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. minemap: {
  22. Map: any;
  23. Marker: any;
  24. Popup: any;
  25. LngLat: any;
  26. util: {
  27. getJSON(url: string, callback: (error: Error, data: any) => void): void;
  28. };
  29. };
  30. }
  31. }