image.d.ts 485 B

123456789101112131415161718192021222324252627282930
  1. /* eslint-disable import/no-default-export */
  2. declare module '*.avif' {
  3. const path: string;
  4. export default path;
  5. }
  6. declare module '*.gif' {
  7. const path: string;
  8. export default path;
  9. }
  10. declare module '*.jpg' {
  11. const path: string;
  12. export default path;
  13. }
  14. declare module '*.png' {
  15. const path: string;
  16. export default path;
  17. }
  18. declare module '*.svg' {
  19. const path: string;
  20. export default path;
  21. }
  22. declare module '*.webp' {
  23. const path: string;
  24. export default path;
  25. }