Skip to content

Commit

Permalink
Update property header from SSE from string to SSEHeaders
Browse files Browse the repository at this point in the history
in sse.js, the type of header is SSEHeaders
and in the code, it is not used as a string.
  • Loading branch information
vsantele committed Nov 12, 2023
1 parent 5de7cf1 commit f07a302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sse.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export { SSE };
*/
/**
* @typedef {Object} SSE
* @property {string} headers - headers
* @property {SSEHeaders} headers - headers
* @property {string} payload - payload as a string
* @property {string} method - HTTP Method
* @property {boolean} withCredentials - flag, if credentials needed
Expand Down

0 comments on commit f07a302

Please sign in to comment.