Skip to content

Commit 0ec3038

Browse files
Merge pull request #1987 from zbigniewzolnierowicz/patch-2
docs(sse): Referenced the MessageEvent interface and fixed a typo
2 parents 71632cd + fd483ec commit 0ec3038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/server-sent-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sse(): Observable<MessageEvent> {
1313
}
1414
```
1515

16-
> info **Hint** The `@Sse()` decorator is imported from the `@nestjs/common`, while `Observable`, `interval`, `and map` are imported from the `rxjs` package.
16+
> info **Hint** The `@Sse()` decorator and `MessageEvent` interface are imported from the `@nestjs/common`, while `Observable`, `interval`, and `map` are imported from the `rxjs` package.
1717
1818
> warning **Warning** Server-Sent Events routes must return an `Observable` stream.
1919

0 commit comments

Comments
 (0)