fix: fixed typing (#24)

This commit is contained in:
Sail
2019-04-09 10:46:41 +08:00
committed by Ivin Wu
parent 69fd371857
commit c2ac6fa5be
3 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ export interface weRequest {
/** 初始化 */
init: (obj: IInitOption) => void;
/** 请求 */
request: (option: IRequestOption) => void;
request: (option: IRequestOption) => void | Promise<object>;
/** 上传文件 */
uploadFile: (option: IUploadFileOption) => void;
/* 获取本地缓存中用户票据的值 */