shims.d.ts 582 B

123456789101112131415161718192021222324252627282930
  1. declare module '*.vue' {
  2. import type { DefineComponent } from 'vue'
  3. const component: DefineComponent<{}, {}, any>
  4. export default component
  5. }
  6. declare class LeaderLine {
  7. constructor(startElement: HTMLElement, endElement: HTMLElement, options?: any) {
  8. }
  9. position() { }
  10. _id: number
  11. static captionLabel: any
  12. static pathLabel: any
  13. }
  14. declare interface Window {
  15. GLOBAL_CONFIG: {
  16. yzy: string
  17. uc: string
  18. base: string
  19. build: string
  20. }
  21. // handleCompleteTask: (gid: number, pid: number, idy: number) => void
  22. // handleAutoCompleteTask: () => void
  23. }