New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@xhmm/wxapp

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xhmm/wxapp

微信小程序的typescript声明文件

latest
Source
npmnpm
Version
2.7.1
Version published
Maintainers
1
Created
Source

官方已支持Typescript,具体见此页面,包含了十分全面的声明文件,故该repo不再更新,使命结束

说明

这是微信小程序的声明文件:目前包括基础库API(2.3.2)云函数客户端API(2.3.2)

使用

  • npm i@xhmm/wxapp@latest
  • app.ts上方加入如下:<reference path='/path/to/node_modules/@xhmm/wxapp/wxapi.d.ts' />

注意事项

  • 当使用到云函数api时,该声明文件内的实现均为promise版,不包含success,fail,complete形式的声明,除了一些特殊的函数比如downloadFileuploadFile

备注

基础库还未全面完成核对,云函数服务端api进行中,微信文档结构变化太快了,不停地在调整。

Keywords

wxapp

FAQs

Package last updated on 23 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts