shims-app.d.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. declare module '*.bmp' {
  2. const src: string;
  3. export default src;
  4. }
  5. declare module '*.gif' {
  6. const src: string;
  7. export default src;
  8. }
  9. declare module '*.jpg' {
  10. const src: string;
  11. export default src;
  12. }
  13. declare module '*.jpeg' {
  14. const src: string;
  15. export default src;
  16. }
  17. declare module '*.png' {
  18. const src: string;
  19. export default src;
  20. }
  21. declare module '*.webp' {
  22. const src: string;
  23. export default src;
  24. }
  25. declare module '*.css?raw';
  26. declare module '*.module.css' {
  27. const classes: { readonly [key: string]: string };
  28. export default classes;
  29. }
  30. declare module '*.module.scss' {
  31. const classes: { readonly [key: string]: string };
  32. export default classes;
  33. }
  34. declare module '*.module.less' {
  35. const classes: { readonly [key: string]: string };
  36. export default classes;
  37. }
  38. declare module '*.module.sass' {
  39. const classes: { readonly [key: string]: string };
  40. export default classes;
  41. }
  42. declare module 'moment/locale/*' {
  43. const LocaleMessage: { [key: string]: any };
  44. export default LocaleMessage;
  45. }
  46. declare module 'ant-design-vue/es/locale-provider/*' {
  47. const LocaleMessage: { [key: string]: any };
  48. export default LocaleMessage;
  49. }
  50. // ant-design-vue/es/base
  51. declare module 'ant-design-vue/es/base' {
  52. class Base {
  53. static install(vue: typeof Vue): void;
  54. }
  55. export default Base;
  56. }