Skip to content

Commit 9aa47ce

Browse files
committed
📘 doc: spelling mistake
1 parent b9a8c52 commit 9aa47ce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/migrate/from-express.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ import { Elysia } from 'elysia'
458458

459459
const app = new Elysia()
460460
// Global middleware
461-
.onRequest('/user', ({ method, path }) => {
461+
.onRequest(({ method, path }) => {
462462
console.log(`${method} ${path}`)
463463
})
464464
// Route-specific middleware

docs/migrate/from-fastify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ import { Elysia } from 'elysia'
524524

525525
const app = new Elysia()
526526
// Global middleware
527-
.onRequest('/user', ({ method, path }) => {
527+
.onRequest(({ method, path }) => {
528528
console.log(`${method} ${path}`)
529529
})
530530
// Route-specific middleware

docs/migrate/from-hono.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ import { Elysia } from 'elysia'
473473

474474
const app = new Elysia()
475475
// Global middleware
476-
.onRequest('/user', ({ method, path }) => {
476+
.onRequest(({ method, path }) => {
477477
console.log(`${method} ${path}`)
478478
})
479479
// Route-specific middleware

docs/patterns/type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ You can find all the source code for Elysia types in `elysia/type-system`.
471471
The following are types provided by Elysia:
472472

473473
<Deck>
474-
<Card title="UnoinEnum" href="#unionenum">
474+
<Card title="UnionEnum" href="#unionenum">
475475
`UnionEnum` allows the value to be one of the specified values.
476476
</Card>
477477
<Card title="File" href="#file">

0 commit comments

Comments
 (0)