TypeScript

How to add DTO in NestJS

I’m trying to make a simple app using nestjs.
When I add CreateUserDTO in UserService I get following TS error.

src/user/user.service.ts:11:40 – error TS2345: Argument of type ‘CreateUserDTO’ is not assignable to parameter of type ‘User’….