tachybase_todo/packages/create-nocobase-app/templates/AppGenerator/typings.d.ts

11 lines
244 B
TypeScript

declare module '*.css';
declare module '*.less';
declare module '*.png';
declare module '*.svg' {
export function ReactComponent(
props: React.SVGProps<SVGSVGElement>,
): React.ReactElement;
const url: string;
export default url;
}