Looks like we're missing the undefined type from the type union that's now generated when an additionalProperties indexer is generated. See this issue:
When the model fields are marked as optional (e.g. fieldName?: string | null), undefined needs to be added to the type union in addition to null. At least when you have the more strict TypeScript configurations.
Looks like we're missing the
undefined
type from the type union that's now generated when anadditionalProperties
indexer is generated. See this issue:https://github.com/cyclosproject/ng-openapi-gen/issues/68
When the model fields are marked as optional (e.g.
fieldName?: string | null
),undefined
needs to be added to the type union in addition tonull
. At least when you have the more strict TypeScript configurations.