Got rid of the last brace-typed and hyphen-less params etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -244,7 +244,7 @@ function getBearerToken(header?: string): string | undefined {
|
||||
/**
|
||||
* Create an event-stream response that emits the events 'log', 'error', and 'finish'.
|
||||
*
|
||||
* @param res the response to write the event-stream to
|
||||
* @param res - the response to write the event-stream to
|
||||
* @returns A tuple of <log, error, finish> callbacks to emit messages. A call to 'error' or 'finish'
|
||||
* will close the event-stream.
|
||||
*/
|
||||
@@ -293,7 +293,7 @@ export function createEventStream(
|
||||
/**
|
||||
* Create a HTTP response. This is used for the legacy non-event-stream implementation of the sync endpoint.
|
||||
*
|
||||
* @param res the response to write the event-stream to
|
||||
* @param res - the response to write the event-stream to
|
||||
* @returns A tuple of <log, error, finish> callbacks to emit messages. A call to 'error' or 'finish'
|
||||
* will close the event-stream.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user