bug fix and performance improvements
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@ -1,8 +1,12 @@
|
||||
/// <reference path="./types/index.d.ts" />
|
||||
|
||||
declare enum RoleType {
|
||||
employee="employee", manager="manager"
|
||||
}
|
||||
interface IAppOption {
|
||||
globalData: {
|
||||
userInfo?: WechatMiniprogram.UserInfo,
|
||||
authToken?: string,
|
||||
role?: RoleType
|
||||
}
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
|
||||
}
|
Reference in New Issue
Block a user