2023-05-09 10:11:56 +09:00
|
|
|
/* eslint-disable import/no-default-export */
|
2023-05-08 18:28:36 +09:00
|
|
|
declare module '*.avif' {
|
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.gif' {
|
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.jpg' {
|
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.png' {
|
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.svg' {
|
2024-01-12 19:31:24 +09:00
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.svg?react' {
|
2023-10-25 02:45:08 +09:00
|
|
|
import type React from 'react';
|
|
|
|
|
|
|
|
interface SVGPropsWithTitle extends React.SVGProps<SVGSVGElement> {
|
|
|
|
title?: string;
|
|
|
|
}
|
|
|
|
|
2024-01-12 19:31:24 +09:00
|
|
|
const ReactComponent: React.FC<SVGPropsWithTitle>;
|
2023-10-25 02:45:08 +09:00
|
|
|
|
2024-01-12 19:31:24 +09:00
|
|
|
export default ReactComponent;
|
2023-05-08 18:28:36 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.webp' {
|
|
|
|
const path: string;
|
|
|
|
export default path;
|
|
|
|
}
|