@tarojs/shared 3.7.0-alpha.1 → 3.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -236,7 +236,7 @@ interface MpEvent {
236
236
  currentTarget: Target;
237
237
  }
238
238
  declare function TaroHook(type: HOOK_TYPE, initial?: Func): Hook;
239
- declare class TaroHooks<T extends Record<string, Func> = any> extends Events {
239
+ declare class TaroHooks<T extends Record<string, Func>> extends Events {
240
240
  hooks: Record<keyof T, Hook>;
241
241
  constructor(hooks: Record<keyof T, Hook>, opts?: any);
242
242
  private tapOneOrMany;
@@ -236,7 +236,7 @@ interface MpEvent {
236
236
  currentTarget: Target;
237
237
  }
238
238
  declare function TaroHook(type: HOOK_TYPE, initial?: Func): Hook;
239
- declare class TaroHooks<T extends Record<string, Func> = any> extends Events {
239
+ declare class TaroHooks<T extends Record<string, Func>> extends Events {
240
240
  hooks: Record<keyof T, Hook>;
241
241
  constructor(hooks: Record<keyof T, Hook>, opts?: any);
242
242
  private tapOneOrMany;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/shared",
3
- "version": "3.7.0-alpha.1",
3
+ "version": "3.7.0-alpha.2",
4
4
  "description": "Taro utils internal use.",
5
5
  "author": "yuche <i@yuche.me>",
6
6
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/shared#readme",