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

64 lines
1.2 KiB
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.FunctionComponent<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
2016-10-20 20:12:46 +08:00
2019-12-26 15:27:52 +08:00
declare module 'bisheng/router';
declare module 'rc-pagination/*';
2016-10-20 20:12:46 +08:00
2018-12-07 20:02:01 +08:00
declare module 'omit.js';
2016-10-20 20:12:46 +08:00
declare module 'rc-animate*';
2016-10-20 20:12:46 +08:00
declare module 'rc-util*';
declare module 'css-animation*';
2016-10-20 20:12:46 +08:00
declare module 'rc-checkbox';
declare module 'rc-radio';
2016-10-20 20:12:46 +08:00
declare module 'rc-editor-mention';
declare module 'rc-tabs*';
declare module 'rc-tree/lib/util';
2016-10-20 20:12:46 +08:00
declare module 'rc-input-number';
declare module 'rc-collapse';
2016-10-20 20:12:46 +08:00
declare module 'rc-dialog';
declare module 'rc-rate';
declare module 'rc-queue-anim';
declare module 'rc-slider';
declare module 'rc-slider/lib/Slider';
declare module 'rc-slider/lib/Range';
declare module 'rc-slider/lib/Handle';
2016-10-20 20:12:46 +08:00
declare module 'rc-steps';
declare module 'rc-switch';
declare module 'rc-upload';
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;
}
2017-04-28 01:22:30 +08:00
2018-12-07 20:02:01 +08:00
declare module 'react-copy-to-clipboard';