feat: typeing
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
// 全局声明
|
||||
type Canvas = WechatMiniprogram.Canvas;
|
||||
type RenderingContext = WechatMiniprogram.CanvasRenderingContext;
|
||||
Vendored
+6
-7
@@ -1,8 +1,7 @@
|
||||
/// <reference path="./types/index.d.ts" />
|
||||
|
||||
/// <reference path="./global.d.ts" />
|
||||
interface IAppOption {
|
||||
globalData: {
|
||||
userInfo?: WechatMiniprogram.UserInfo,
|
||||
}
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
|
||||
}
|
||||
globalData: {
|
||||
userInfo?: WechatMiniprogram.UserInfo;
|
||||
};
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback;
|
||||
}
|
||||
|
||||
Vendored
+6178
-8038
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user