mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
build(tsconfig): skipLibCheck to avoid dependecies error (#3093)
fix #3081
This commit is contained in:
parent
2a456cd66c
commit
90b3aae5b2
@ -21,7 +21,7 @@ export function nextTick(fn: Function) {
|
|||||||
}, 1000 / 30);
|
}, 1000 / 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
let systemInfo: WechatMiniprogram.GetSystemInfoSuccessCallbackResult = null;
|
let systemInfo: WechatMiniprogram.GetSystemInfoSyncResult = null;
|
||||||
export function getSystemInfoSync() {
|
export function getSystemInfoSync() {
|
||||||
if (systemInfo == null) {
|
if (systemInfo == null) {
|
||||||
systemInfo = wx.getSystemInfoSync();
|
systemInfo = wx.getSystemInfoSync();
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
"types": ["miniprogram-api-typings"],
|
"types": ["miniprogram-api-typings"],
|
||||||
"paths": {
|
"paths": {
|
||||||
"definitions/*": ["./packages/definitions/*"]
|
"definitions/*": ["./packages/definitions/*"]
|
||||||
}
|
},
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["packages/**/*"]
|
"include": ["packages/**/*"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user