shims.d.ts 546 B

12345678910111213141516171819202122232425262728
  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. }
  19. // handleCompleteTask: (gid: number, pid: number, idy: number) => void
  20. // handleAutoCompleteTask: () => void
  21. }