Skip to content

Commit

Permalink
Update type-safety.md to correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulvahidkp authored Aug 21, 2024
1 parent e0f3398 commit b14ba6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/type-safety.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ For now type safety is optional and need to be enabled. We're planning to make a

You can also use the generated types in your DTOs. This way you can reduce the chance of having a typo in your validation messages.

```typescript title="src/craete-user.dto.ts"
```typescript title="src/create-user.dto.ts"
import { I18nTranslations } from './generated/i18n.generated.ts';
import {
IsEmail,
Expand Down

0 comments on commit b14ba6a

Please sign in to comment.