Skip to content

Commit bf4cb72

Browse files
✏️ fix: fix typos
1 parent fb358c6 commit bf4cb72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/concept/handler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ As destructured primitive value is not linked to the object, in order to make `s
6464
## Response
6565
Returning value from `Handler`, Elysia will try to map returned value into `Response`.
6666
67-
For eaxmple, to return an object, you should stringify the content first and then set response header of `Content-Type` to `application/json`.
67+
For example, to return an object, you should stringify the content first and then set response header of `Content-Type` to `application/json`.
6868
6969
Which look something like this:
7070
```typescript
@@ -92,7 +92,7 @@ app.get('/', () => ({
9292
}))
9393
```
9494
95-
Ofcourse, as Elysia map the value to `Response`.
95+
Of course, as Elysia map the value to `Response`.
9696
9797
But you can also return a `Response` if you really want to.
9898
```typescript

0 commit comments

Comments
 (0)