typings.d.ts 1.02 KB
Newer Older
้™ˆๅธ…'s avatar
้™ˆๅธ… committed
1 2 3
declare module 'slash2';
declare module 'antd-theme-webpack-plugin';

4 5 6 7 8 9 10 11 12 13 14
declare module '*.css';
declare module '*.less';
declare module '*.scss';
declare module '*.sass';
declare module '*.svg';
declare module '*.png';
declare module '*.jpg';
declare module '*.jpeg';
declare module '*.gif';
declare module '*.bmp';
declare module '*.tiff';
ไฝ•ไน's avatar
ไฝ•ไน committed
15 16 17
declare module 'rc-animate';
declare module 'omit.js';
declare module 'react-copy-to-clipboard';
18 19 20
declare module 'react-fittext';
declare module '@antv/data-set';
declare module 'nzh/cn';
21 22
declare module 'webpack-theme-color-replacer';
declare module 'webpack-theme-color-replacer/client';
้™ˆๅธ…'s avatar
้™ˆๅธ… committed
23

24 25 26 27 28 29 30
// src/typings.d.ts
declare module 'umi-plugin-react/locale' {
  export default interface MessageDescriptor {
    id: string;
  } /* eslint-disable-line */
}

้™ˆๅธ…'s avatar
้™ˆๅธ… committed
31
declare let ga: Function;
32

้™ˆๅธ…'s avatar
้™ˆๅธ… committed
33 34 35
// preview.pro.ant.design only do not use in your production ;
// preview.pro.ant.design ไธ“็”จ็Žฏๅขƒๅ˜้‡๏ผŒ่ฏทไธ่ฆๅœจไฝ ็š„้กน็›ฎไธญไฝฟ็”จๅฎƒใ€‚
declare let ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: 'site' | undefined;