Skip to content

Commit e7bc8fb

Browse files
committed
docs: added missing imports in validation example
There were two missing imports for env.validation file example, added those to solve for import issue.
1 parent 5858c10 commit e7bc8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ In this example, we'll proceed with the `class-transformer` and `class-validator
409409
```typescript
410410
@@filename(env.validation)
411411
import { plainToInstance } from 'class-transformer';
412-
import { IsEnum, IsNumber, validateSync } from 'class-validator';
412+
import { IsEnum, IsNumber, Max, Min, validateSync } from 'class-validator';
413413

414414
enum Environment {
415415
Development = "development",

0 commit comments

Comments
 (0)