Open
Description
Description
I have an issue with the intersections being created rather than unions.
The intersection HomeContentResponseModel was reduced to never because property contentType has conflicting types in some constituents.
I'm getting this error recently when using this library with Umbraco.
export type HomeContentModel = IApiContentModelBase & {
contentType: 'home';
} & {
properties?: HomePropertiesModel;
};
export type HomeContentResponseModel = IApiContentResponseModelBase & {
contentType: 'home';
} & HomeContentModel;
export type HomePropertiesModel = {
title?: string | null;
};
Reproducible example or configuration
https://github.com/garpunkal/umbraco-headless-starter/tree/main/src/content-delivery/src/scripts/api
OpenAPI specification (optional)
https://gist.github.com/garpunkal/b75a824d132d9fe2e8f386dcf3d58f6c
System information (optional)
No response