Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update property header from SSE from string to SSEHeaders #44

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

vsantele
Copy link
Contributor

This pull request updates the headers property in SSE from string to SSEHeaders type. Additionally, it fixes the SSEHeaders type name for SSEOptions.

This change ensures that the headers property is used consistently throughout the codebase and avoids any potential type errors.

in sse.js, the type of header is SSEHeaders
and in the code, it is not used as a string.
@mpetazzoni mpetazzoni merged commit 7723ab8 into mpetazzoni:main Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants