// Global types used here declare global { interface IResData { code: number msg: string data: T } // uni.uploadFile file upload parameters interface IUniUploadFileOptions { file?: File files?: UniApp.UploadFileOptionFiles[] filePath?: string name?: string formData?: any } interface IUserInfo { nickname?: string avatar?: string /** WeChat openid, non-WeChat does not have this field */ openid?: string token?: string } } export {} // Prevent module pollution