first commit
This commit is contained in:
15
typings/index.d.ts
vendored
Normal file
15
typings/index.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/// <reference path="./types/index.d.ts" />
|
||||
|
||||
interface IAppOption {
|
||||
globalData: {
|
||||
userInfo: any,
|
||||
isLoggedIn: boolean,
|
||||
openid?: string,
|
||||
session_key?: string
|
||||
}
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
|
||||
initAuth: () => Promise<void>,
|
||||
checkLocationPermission: () => Promise<void>,
|
||||
doGlobalLogin: () => Promise<boolean>,
|
||||
doGlobalLogout: () => void
|
||||
}
|
Reference in New Issue
Block a user