phecda-core 4.5.0 → 4.5.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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -115,8 +115,8 @@ declare abstract class Base {
|
|
|
115
115
|
abstract emitter: any;
|
|
116
116
|
constructor();
|
|
117
117
|
get tag(): PropertyKey;
|
|
118
|
-
init(): void;
|
|
119
|
-
then(cb: () => void, reject?: (e: any) => void): Promise<void>;
|
|
118
|
+
protected init(): void;
|
|
119
|
+
protected then(cb: () => void, reject?: (e: any) => void): Promise<void>;
|
|
120
120
|
on<Key extends keyof Events>(type: Key, handler: (arg: Events[Key]) => void): void;
|
|
121
121
|
emit<Key extends keyof Events>(type: Key, param: Events[Key]): void;
|
|
122
122
|
off<Key extends keyof Events>(type: Key, handler?: (arg: Events[Key]) => void): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -115,8 +115,8 @@ declare abstract class Base {
|
|
|
115
115
|
abstract emitter: any;
|
|
116
116
|
constructor();
|
|
117
117
|
get tag(): PropertyKey;
|
|
118
|
-
init(): void;
|
|
119
|
-
then(cb: () => void, reject?: (e: any) => void): Promise<void>;
|
|
118
|
+
protected init(): void;
|
|
119
|
+
protected then(cb: () => void, reject?: (e: any) => void): Promise<void>;
|
|
120
120
|
on<Key extends keyof Events>(type: Key, handler: (arg: Events[Key]) => void): void;
|
|
121
121
|
emit<Key extends keyof Events>(type: Key, param: Events[Key]): void;
|
|
122
122
|
off<Key extends keyof Events>(type: Key, handler?: (arg: Events[Key]) => void): void;
|