Skip to content

Commit 682e2f4

Browse files
committed
fix: update JSDoc
1 parent 6cdfc21 commit 682e2f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

site/src/api/api.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ const getMissingParameters = (
104104
/**
105105
*
106106
* @param agentId
107-
* @returns An EventSource that emits agent metadata event objects
108-
* (ServerSentEvent)
107+
* @returns {OneWayWebSocket} A OneWayWebSocket that emits Server-Sent Events.
109108
*/
110109
export const watchAgentMetadata = (
111110
agentId: string,
@@ -116,8 +115,7 @@ export const watchAgentMetadata = (
116115
};
117116

118117
/**
119-
* @returns {EventSource} An EventSource that emits workspace event objects
120-
* (ServerSentEvent)
118+
* @returns {OneWayWebSocket} A OneWayWebSocket that emits Server-Sent Events.
121119
*/
122120
export const watchWorkspace = (
123121
workspaceId: string,

0 commit comments

Comments
 (0)