Put in order · NestJS course · Module 1: NestJS Basics

Using PartialType

Arrange the elements for creating UpdateDto with PartialType:

Items to put in order

  • { }
  • export class UpdateLegionaryDto
  • CreateLegionaryDto)
  • extends PartialType(
Show the answer

Correct order:

  1. export class UpdateLegionaryDto
  2. extends PartialType(
  3. CreateLegionaryDto)
  4. { }