typings.d.ts 1.11 KB
Newer Older
陈帅's avatar
陈帅 committed
1 2 3
declare module 'slash2';
declare module 'antd-theme-webpack-plugin';

陈小聪's avatar
陈小聪 committed
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
declare module 'omit.js';
declare module 'react-copy-to-clipboard';
17 18 19
declare module 'react-fittext';
declare module '@antv/data-set';
declare module 'nzh/cn';
陈帅's avatar
陈帅 committed
20 21
declare module 'webpack-theme-color-replacer';
declare module 'webpack-theme-color-replacer/client';
陈帅's avatar
陈帅 committed
22

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

陈帅's avatar
陈帅 committed
30
declare let ga: Function;
陈帅's avatar
陈帅 committed
31

陈帅's avatar
陈帅 committed
32 33 34
// 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;
duanledexianxianxian's avatar
duanledexianxianxian committed
35 36 37 38 39 40 41

declare interface BaseModel {
  creatorId?: number;
  createdDate?: string;
  editorId?: string;
  editDate?: number;
}