npm install minigame-api-typings 安装后手动导入: import 'minigame-api-typings'; 或者在 ts 配置中指定: 在tsconfig.json中指定types: ["minigame-api-typings"] 或者通过三斜杠指令引用: /// <reference path="node_modules/minigame-api-typings/index.d.ts" /> ...
Type definitions for APIs of Wechat MiniGame in TypeScript. Latest version: 3.8.4, last published: 22 days ago. Start using minigame-api-typings in your project by running `npm i minigame-api-typings`. There are 6 other projects in the npm registry using