Click in order · NestJS course · Module 10: Data Validation

Importing Validation Decorators

Arrange the elements of importing decorators from class-validator:

Items to click

  • IsString, IsNumber, IsNotEmpty
  • }
  • import {
  • from 'class-validator';

You can check the correct answer by solving this task in the CodeWorlds game.