ant-design/typings/custom-typings.d.ts

20 lines
486 B
TypeScript
Raw Normal View History

// 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';
2018-12-26 16:01:00 +08:00
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
2016-10-20 20:12:46 +08:00
declare module 'rc-util*';
2022-12-08 13:44:20 +08:00
declare module 'jsonml.js/*';
2018-12-07 20:02:01 +08:00
declare module '*.json' {
const value: any;
2017-02-13 14:57:04 +08:00
export const version: string;
export default value;
}