We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d99909d commit 18325d5Copy full SHA for 18325d5
packages/pubsub/src/pubsub.ts
@@ -8,6 +8,8 @@ export type PubSubListener<
8
Topic extends keyof Data,
9
> = (data: Data[Topic]) => void;
10
11
+// DO NOT FORGET TO UPDATE DOCUMENTATION WHEN CHANGING THE INTERFACE
12
+
13
export interface PubSub<M extends TopicDataMap = TopicDataMap> {
14
/**
15
* Publish {@link data} for a {@link topic}.
0 commit comments