declare interface Fn { (...arg: T[]): T } declare type Nullable = T | null declare type ElRef = Nullable declare type ElememtPlusSize = 'default' | 'small' | 'large' declare type ElementPlusInfoType = 'success' | 'info' | 'warning' | 'danger' declare type Recordable = Record declare type ComponentRef = InstanceType declare type LocaleType = 'zh-CN' | 'en' declare type AxiosHeaders = | 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' declare type AxiosMethod = 'GET' | 'POST' | 'DELETE' | 'PUT' declare type AxiosResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' declare interface AxiosConfig { params?: any data?: any url?: string method?: AxiosMethod headersType?: string responseType?: AxiosResponseType } declare interface IResponse { code?: number data: T extends any ? T : T & any }