//common type file, you can not export the type in common.d.ts //not export can use interface ObjTy { [propName: string]: any } /*axiosReq请求配置*/ import { AxiosRequestConfig } from 'axios' interface AxiosReqTy extends AxiosRequestConfig { url?: string method?: string data?: ObjTy isParams?: boolean bfLoading?: boolean afHLoading?: boolean isUploadFile?: boolean isDownLoadFile?: boolean isAlertErrorMsg?: boolean baseURL?: string timeout?: number } interface AxiosConfigTy { url?: string method?: string data?: ObjTy isParams?: boolean bfLoading?: boolean afHLoading?: boolean isUploadFile?: boolean isDownLoadFile?: boolean isAlertErrorMsg?: boolean baseURL?: string timeout?: number } interface SettingTy { title: string sidebarLogo: boolean showLeftMenu: boolean ShowDropDown: boolean showHamburger: boolean isNeedLogin: boolean isNeedNprogress: boolean showTagsView: boolean tagsViewNum: number openProdMock: boolean errorLog: string | Array permissionMode: string delWindowHeight: string tmpToken: string showNavbarTitle: boolean showTopNavbar: boolean mainNeedAnimation: boolean viteBasePath: string }