123456789101112131415161718192021222324252627282930 |
- 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;
- }
- declare module 'postcss-px-to-viewport';
- declare module 'numeral';
- declare module 'video-animation-player';
- interface Window {
- $: any;
- JSMpeg: any;
- }
- interface IMap {
- [propsName: string]: any;
- }
- //接口返回数据
- type Result<D> = {
- code: number | string;
- msg: string;
- success: boolean;
- data?: D;
- };
|