Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jochongs committed Mar 5, 2024
1 parent 78b6371 commit 9b17ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/docs/core/TypedFormData.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ exports.BbsArticlesController = BbsArticlesController = __decorate(

Just call `@TypedFormData.Body()` function on the request body parameter, that's all.

`Nestia` will analyze your type (`IBbsArticleCreate`), and writes optimal code for the target type, in the compilation level. If you click the "Complied JavaScript File" tab of above, you can see the optimal transformation and validation code.
`Nestia` will analyze your type (`IBbsArticleCreate`), and writes optimal code for the target type, in the compilation level. If you click the "Compiled JavaScript File" tab of above, you can see the optimal transformation and validation code.

Such optimization is called AOT (Ahead of Time) compilation, and it is the secret of `@TypedFormData.Body`.

Expand Down

0 comments on commit 9b17ace

Please sign in to comment.