@mini-types/global
Advanced tools
Comparing version 2.0.20-next-1672908201.0 to 3.0.0
{ | ||
"name": "@mini-types/global", | ||
"version": "2.0.20-next-1672908201.0", | ||
"version": "3.0.0", | ||
"description": "TypeScript declarations for Alipay's mini program.", | ||
@@ -24,3 +24,3 @@ "scripts": {}, | ||
}, | ||
"gitHead": "cebf46d06e97f2d8ced1a5c11e39e418fe92aff6" | ||
"gitHead": "0f0301bd7cb89e521963e64e62c4dafb5eff2035" | ||
} |
@@ -224,2 +224,10 @@ declare namespace MiniProgram.Component { | ||
/** | ||
* 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。 | ||
* @description 若自定义组件注册时传入了ref以指定组件返回值,则可通过hasMixin('ref')检查到 | ||
* @version 2.8.2 | ||
* @return boolean | ||
* @see https://opendocs.alipay.com/mini/framework/component_object#%E7%BB%84%E4%BB%B6%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95 | ||
*/ | ||
hasMixin(mixin: Mixin.IMixinIdentifier): boolean; | ||
/** | ||
* 获取这个关系所对应的所有关联节点,参见 组件间关系 | ||
@@ -226,0 +234,0 @@ * @version 2.8.5 |
@@ -367,2 +367,3 @@ declare namespace MiniProgram.Page { | ||
* @return boolean | ||
* @see https://opendocs.alipay.com/mini/framework/page-detail#hasMixin | ||
*/ | ||
@@ -369,0 +370,0 @@ hasMixin(mixin: Mixin.IMixinIdentifier): boolean; |
@@ -300,10 +300,2 @@ declare namespace MiniProgram.Shared { | ||
/** | ||
* 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。 | ||
* @description 若自定义组件注册时传入了ref以指定组件返回值,则可通过hasMixin('ref')检查到 | ||
* @version 2.8.2 | ||
* @return boolean | ||
* @see https://opendocs.alipay.com/mini/framework/component_object#%E7%BB%84%E4%BB%B6%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95 | ||
*/ | ||
hasMixin(mixin: Mixin.IMixinIdentifier): boolean; | ||
/** | ||
* 监听 setData 引发界面更新的开销,参见 获取更新性能统计信息 | ||
@@ -310,0 +302,0 @@ * @version 2.8.5 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
228157
5700
1