tdesign-vue-next-starter/src/interface.ts
PY 75df4f1672 Feat/updateconfig (#2)
* feat: update eslint config and npmpkg

* feat: update color config

* feat: eslint update

* feat: update ts config

Co-authored-by: yue.peng <yue.peng@ly.com>
Co-authored-by: pengYYYYY <pengyue970715@gmail.com>
2021-11-26 10:45:04 +08:00

20 lines
382 B
TypeScript

import STYLE_CONFIG from '@/config/style';
export interface ResDataType {
code: number;
data: any;
}
export interface MenuRoute {
path: string;
title?: string;
icon?: string;
children: MenuRoute[];
}
export type ModeType = 'dark' | 'light';
export type SettingType = typeof STYLE_CONFIG;
export type ClassName = { [className: string]: any } | ClassName[] | string;