Skip to content

Commit 0c245b2

Browse files
committed
improve docs
1 parent ee14c20 commit 0c245b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import { EventAddons, EventData } from '@hawk.so/types';
22

3+
/**
4+
* Event type which is returned by events factory
5+
*/
36
type Event = {
47
_id: string;
58
payload: EventData<EventAddons>;
69
};
710

811
/**
9-
* Interface for events factory
12+
* Interface for interacting with events factory
1013
*/
1114
export interface EventsFactoryInterface {
1215
/**

0 commit comments

Comments
 (0)