Skip to content

Commit 1d16ba7

Browse files
committed
Grammar: Plurals and article insertion for clarity
1 parent 868fcea commit 1d16ba7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/concept/numeric.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ app.get('/id/:id', ({ params: { id } }) => id, {
3535
})
3636
```
3737

38-
However, it's a little bit redundant and require a boilerplate, so Elysia has a custom type to speed up the situation with `t.Numeric`
38+
However, it's a little bit redundant and requires boilerplate, so Elysia has a custom type to speed up the situation with `t.Numeric`
3939

4040
```ts
4141
app.get('/id/:id', ({ params: { id } }) => id, {
@@ -45,11 +45,11 @@ app.get('/id/:id', ({ params: { id } }) => id, {
4545
})
4646
```
4747

48-
This allows us to convert **valid** numeric string to number automatically.
48+
This allows us to convert a **valid** numeric string to a number automatically.
4949

50-
If string is not a valid numeric string, it will throw an error in the runtime and prevent and execution inside the handler.
50+
If the string is not a valid numeric string, it will throw an error in the runtime and prevent execution inside the handler.
5151

52-
You can use numeric type on any property that support schema typing, including:
52+
You can use the numeric type on any property that supports schema typing, including:
5353
- params
5454
- query
5555
- headers

0 commit comments

Comments
 (0)