Skip to content

Commit cd536a8

Browse files
fix: typo in mvc.md (#291)
1 parent d021769 commit cd536a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/patterns/mvc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ new Elysia()
4444
Elysia does a lot to ensure type integrity, and if you pass an entire Context type to a controller, these might be the problems:
4545
1. Elysia type is complex and heavily depends on plugin and multiple level of chaining.
4646
2. Hard to type, Elysia type could change at anytime, especially with decorators, and store
47-
3. Type castigin may cause lost of type integrity or unable to ensure type and runtime code.
47+
3. Type casting may cause lost of type integrity or unable to ensure type and runtime code.
4848
4. Harder for [Sucrose](/blog/elysia-10#sucrose) *(Elysia's "kind of" compiler)* to statically analyze your code
4949

5050
We recommended using object destructuring to extract what you need and pass it to **"Service"** instead.

0 commit comments

Comments
 (0)