#optional function parameter
7 messages · Page 1 of 1 (latest)
That's what the ? does. What's the problem?
? is used to mark something as optional
this also works in a dto for example
i think you should be ok here, did you try running it?
i just tried it. i was asking if anything else was needed. im new to nestjs, that's why
thank you guys 🙂
This isn't related to nest though. It's a Typescript feature