Skip to content

Commit

Permalink
ts/sdk fix type error in node readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Superpat committed Jan 14, 2025
1 parent 65da425 commit b605f1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ const server = createServer(async (req, res) => {
ServerSentEventGenerator.stream(req, res, (stream) => {
stream.mergeFragments(`<div id="toMerge">Hello ${readSignals.signals.foo}</div>`);
});
} else {
console.error('Error while reading signals', readSignals.error);
res.end('Error while reading signals`);
}
console.error('Error while reading signals', readSignals.error);
res.end('Error while reading signals`);
}
res.end('Path not found');
Expand Down

0 comments on commit b605f1d

Please sign in to comment.