feat: support version option (#23)

* feat: support version option

* docs(README): added version option
This commit is contained in:
Sail
2019-04-01 17:47:17 +08:00
committed by Ivin Wu
parent 68927d274b
commit 0df7cb6bb3
9 changed files with 64 additions and 24 deletions

View File

@@ -72,4 +72,5 @@ export interface weRequest {
getConfig?: () => IGetConfigResult;
login?: (callback: Function) => void;
setSession?: (x: string) => void;
version?: string;
}