shims.d.ts 564 B

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