2022-12-09 11:41:39 +08:00

11 lines
335 B
TypeScript

/// <reference path="./types/index.d.ts" />
interface IAppOption {
globalData: {
userInfo?: UserInfo,
token?: string
}
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
updateUserInfo: () => Promise<UserInfo>
initLoginInfo: (resolve: (value: any) => void, reject: (reason: any) => void) => void
}