miniprogram-api-typings
Advanced tools
Comparing version
@@ -0,1 +1,4 @@ | ||
## 2025-07-15 v4.0.8 | ||
- 更新 API 定义到 3.8.10 | ||
## 2025-04-18 v4.0.7 | ||
@@ -2,0 +5,0 @@ - 更新云开发拓展能力类型定义 |
{ | ||
"name": "miniprogram-api-typings", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Type definitions for APIs of Wechat Mini Program in TypeScript", | ||
@@ -23,7 +23,7 @@ "main": "./index.d.ts", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.46.0", | ||
"@typescript-eslint/parser": "^5.46.0", | ||
"eslint": "^8.29.0", | ||
"tsd": "^0.25.0", | ||
"typescript": "^4.9.4" | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"eslint": "^8.57.1", | ||
"tsd": "^0.32.0", | ||
"typescript": "^5.2.2 <5.4.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "tsd": { |
@@ -24,3 +24,5 @@ /*! ***************************************************************************** | ||
declare namespace WechatMiniprogram.Component { | ||
type FilterUnknownType<T> = string extends keyof T ? {} : T | ||
type FilterUnknownType<T> = { | ||
[P in keyof T as string extends P ? never : P]: T[P] | ||
} | ||
type Instance< | ||
@@ -27,0 +29,0 @@ TData extends DataOption, |
Sorry, the diff of this file is too big to display
2382412
0.67%58414
0.64%