Skip to content

Commit e90c082

Browse files
authored
Merge pull request #301 from BarishNamazov/patch-2
Fix returnd -> returned typo
2 parents 3b3836f + 429a58f commit e90c082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/eden/treaty/response.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ head:
1717
# Response
1818
Once fetch method is called, Eden Treaty return an Promise with object as follows:
1919
- data - returned value of the response (2xx)
20-
- error - returnd value from the response (>= 3xx)
20+
- error - returned value from the response (>= 3xx)
2121
- response `Response` - Web Standard Response class
2222
- status `number` - HTTP status code
2323
- headers `FetchRequestInit['headers']` - response's headers
@@ -73,4 +73,4 @@ By default, Elysia will infers error and response type to TypeScript automatical
7373
If server response with HTTP status >= 300, then value will be always be null, and error will have a returned value instead.
7474

7575
Otherwise, response will be passed to data.
76-
:::
76+
:::

0 commit comments

Comments
 (0)