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:
- export class UpdateLegionaryDto
- extends PartialType(
- CreateLegionaryDto)
- { }