declaration.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. declare module 'history'
  2. declare module '*.scss'
  3. declare module '*.png'
  4. declare module '*.jpg'
  5. declare module '*.gif'
  6. declare module '*.svg'
  7. declare module 'js-export-excel'
  8. declare module 'braft-utils'
  9. declare module 'react-virtualized'
  10. declare const cardNames: any[]
  11. // public/myData.js 里面的一些数据的类型
  12. declare const isPcTemp: boolean
  13. declare const myDataTemp: MyDataType
  14. declare const apiUrlTemp: string
  15. // 微信浏览器--视频转画布
  16. declare const F_Video: any
  17. type MyDataType = {
  18. isLdong: boolean
  19. siderData: { title: string; path: string }[]
  20. sceneList: { id: string; name: string; thumbUrl: string }[]
  21. architectureAnimation: string
  22. memberList: { name: string; nameEn: string; imgSrc: string; imgSrcLight: string; videoSrc: string }[]
  23. lifeList: { name: string; time: string; imgSrc: string; videoSrc?: string; desc: string }[]
  24. }
  25. declare namespace JSX {
  26. interface IntrinsicElements {
  27. 'media-controller': any;
  28. 'media-play-button': any;
  29. 'media-mute-button': any;
  30. 'media-volume-range': any;
  31. 'media-time-range': any;
  32. 'media-pip-button': any;
  33. 'media-fullscreen-button': any;
  34. 'media-control-bar': any;
  35. 'media-time-display': any;
  36. 'media-duration-display': any;
  37. }
  38. }