declaration.d.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. // public/myData.js 里面的一些数据的类型
  10. declare const baseUrlLoc: string
  11. declare const baseUrlAtl: string
  12. declare const isPcTemp: boolean
  13. declare const myDataTemp: MyDataType
  14. declare const otherUrlTemp: string
  15. declare const myHotInfo: any
  16. declare const apiUrlTemp: string
  17. // 微信浏览器--视频转画布
  18. declare const F_Video: any
  19. type MyDataType = {
  20. isLdong: boolean
  21. baseInfo: { title: string; text: string; path: string }[]
  22. introInfo: { title: string; text: string }[]
  23. detail_modal: {
  24. top: { title: string; txt: string }[]
  25. bottom: { title: string; txt: string }[]
  26. }
  27. allTxt: { title: string }[]
  28. readDetail: {
  29. words: { name: string; define: string; inset: string }[]
  30. intro: string
  31. mzmtz: { title: string; content: string }
  32. origin: string
  33. translate: string
  34. }[]
  35. // 属性之辩
  36. shuxing: {
  37. name: string
  38. time: string
  39. size: string
  40. desc: string
  41. img: string
  42. }[]
  43. // 未解之思
  44. weijie: string
  45. // 造像中国化
  46. sinicizeData: { time: string; bgPath: string }[]
  47. }