ant-design/typings/custom-typings.d.ts
2023-03-28 22:01:23 +08:00

20 lines
486 B
TypeScript

// https://github.com/facebook/create-react-app/blob/f09d3d3a52c1b938cecc977c2bbc0942ea0a7e70/packages/react-scripts/lib/react-app.d.ts#L42-L49
declare module '*.svg' {
import * as React from 'react';
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
declare module 'rc-util*';
declare module 'jsonml.js/*';
declare module '*.json' {
const value: any;
export const version: string;
export default value;
}