Generates & { property: unknown; }
with allOf
union
#958
Labels
bug
Something isn't working
planned
Expected in an upcoming version
PRs welcome
PRs are welcome to solve this issue!
Hi,
I've created the following test file:
and it results in the following components generation, which seems correct to me, except for the fact that it results in an additional union with "unknown" types:
I assume that
muted
andpinned
not being in the original schema results in the extra union.I've tried cloning the repo and generating the types with up-to-date code as I heard there's some 3.1 improvements coming, but it seems to result in the same issue. I've also tried playing around with
unevaluatedProperties: false
, but got the same result.Is this a bug in the library, or do I have some incorrect assumptions? I may be willing to give a shot at fixing it, but don't know where to start.
The text was updated successfully, but these errors were encountered: