You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
store_node/miniprogram/typings/index.d.ts

14 lines
432 B

/// <reference path="./types/index.d.ts" />
interface IAppOption {
globalData: {
userInfo: WechatMiniprogram.UserInfo | null;
openid: string;
isLoggedIn: boolean;
hasUserInfo: boolean;
canIUseGetUserProfile: boolean;
};
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback;
silentLogin: () => void;
getUserProfile: (callback: (userInfo: WechatMiniprogram.UserInfo) => void) => void;
}