@tarojs/shared 3.7.0-alpha.0 → 3.7.0-alpha.1
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 +1 -1
- package/dist/shared.esm.d.ts +1 -1
- package/package.json +1 -1
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
|
|
239
|
+
declare class TaroHooks<T extends Record<string, Func> = any> extends Events {
|
|
240
240
|
hooks: Record<keyof T, Hook>;
|
|
241
241
|
constructor(hooks: Record<keyof T, Hook>, opts?: any);
|
|
242
242
|
private tapOneOrMany;
|
package/dist/shared.esm.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
|
|
239
|
+
declare class TaroHooks<T extends Record<string, Func> = any> 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