import { PartialType } from '@nestjs/mapped-types'; code example Example: import { PartialType } from '@nestjs/mapped-types' npm install @nestjs/mapped-types