New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

miniprogram-api-typings

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miniprogram-api-typings - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 2021-02-22 v3.2.3
- 更新 API 定义到 2.15.0
- 修复 `Component.triggerEvent` 的 `detail` 类型
- 修复几个接口的定义([#193](https://github.com/wechat-miniprogram/api-typings/issues/193), [#185](https://github.com/wechat-miniprogram/api-typings/issues/185), [#180](https://github.com/wechat-miniprogram/api-typings/issues/180))
- 修改 `MethodOption` 以解决 [#161](https://github.com/wechat-miniprogram/api-typings/issues/161)(鸣谢:[@Lienviws](https://github.com/Lienviws))
## 2021-01-14 v3.2.2

@@ -2,0 +8,0 @@ - 修复几个接口未 Promise 化的问题

2

package.json
{
"name": "miniprogram-api-typings",
"version": "3.2.2",
"version": "3.2.3",
"beta": "true",

@@ -5,0 +5,0 @@ "description": "Type definitions for APIs of Wechat Mini Program in TypeScript",

@@ -86,3 +86,3 @@ /*! *****************************************************************************

type PropertyOption = Record<string, AllProperty>
type MethodOption = Record<string, (...args: any[]) => any>
type MethodOption = Record<string, Function>

@@ -195,5 +195,5 @@ interface Data<D extends DataOption> {

/** 触发事件,参见组件事件 */
triggerEvent(
triggerEvent<DetailType = any>(
name: string,
detail?: Record<string, unknown>,
detail?: DetailType,
options?: TriggerEventOption

@@ -200,0 +200,0 @@ ): void

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc