openapi typescript-fetch generates non-nullable types as nullable

前端 未结 0 1259
情话喂你
情话喂你 2021-01-17 07:08

Basically all my DTOs are generated with nullable fields like: id?: number;. How can I create non-nullable types for types which are not flagged as nullable.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题