Skip to content

Commit

Permalink
Update SSE.js
Browse files Browse the repository at this point in the history
Fix typehint bug
  • Loading branch information
emilhe authored Sep 24, 2024
1 parent d59af1f commit 454a844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/SSE.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ SSE.propTypes = {
options: PropTypes.shape({
headers: PropTypes.object,
method: PropTypes.string,
payload: PropTypes.object,
payload: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
withCredentials: PropTypes.bool,
start: PropTypes.bool,
debug: PropTypes.bool,
Expand Down

0 comments on commit 454a844

Please sign in to comment.