tsafe
tsafe copied to clipboard
Error identifying equality creating z.custom
I encountered a problem identifying equality between types generated by z.custom on an object
General file
Schema type inferred
Type created
It can be seen that when the schema assert is performed directly it passes without problems. However, when asserting within an object it presents an error even though it has the same typing.
I also noticed that when determining the attribute as optional the error disappears.