1.0.5 • Published 2 years ago
miniprogram-type v1.0.5
Wechat Mini Program Type
Type definitions of Wechat Mini Program in TypeScript
Forked from https://github.com/wechat-miniprogram/api-typings Version 3.10.0
Quick fix bug
Install
By standalone npm package
npm install -D miniprogram-typeAfter installed, reference by Triple-Slash Directives:
If you use default set:
// tsconfig.json
"typeRoots": [
"./typings"
]Please use:
/// <reference path="../node_modules/miniprogram-api-typings/index.d.ts" />Automated tests
We use tsd to check if this definition is working properly. All test cases are under folder test.
To perform an automated test, clone this repo, npm install -D and npm test.
If you have test case that fails the test, an issue or PR will be great. Strong test case that passes are also welcomed.
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.0.0-beta.4
3 years ago
0.0.0-beta.3
3 years ago
0.0.0-beta.2
3 years ago
0.0.0-beta.1
3 years ago