@e280/stz 0.0.0-0 → 0.0.0-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/package.json +1 -1
- package/s/pubsub.ts +1 -1
- package/x/pubsub.d.ts +1 -1
package/package.json
CHANGED
package/s/pubsub.ts
CHANGED
package/x/pubsub.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface Xub<A extends any[] = []> {
|
|
|
8
8
|
export interface Sub<A extends any[] = []> extends Xub<A> {
|
|
9
9
|
(fn: Listener<A>): () => void;
|
|
10
10
|
}
|
|
11
|
-
export interface Pub<A extends any[] = []> {
|
|
11
|
+
export interface Pub<A extends any[] = []> extends Xub<A> {
|
|
12
12
|
(...a: A): Promise<void>;
|
|
13
13
|
}
|
|
14
14
|
export declare function xub<A extends any[] = []>(): [Pub<A>, Sub<A>];
|