fix: fixed typing (#24)
This commit is contained in:
2
build/interface.d.ts
vendored
2
build/interface.d.ts
vendored
@@ -66,7 +66,7 @@ export interface IGetConfigResult {
|
||||
}
|
||||
export interface weRequest {
|
||||
init: (obj: IInitOption) => void;
|
||||
request: (option: IRequestOption) => void;
|
||||
request: (option: IRequestOption) => void | Promise<object>;
|
||||
uploadFile: (option: IUploadFileOption) => void;
|
||||
getSession: () => string;
|
||||
getConfig: () => IGetConfigResult;
|
||||
|
||||
Reference in New Issue
Block a user