mud
mud copied to clipboard
fix: preserve JsDoc on defineWorld output, bump @arktype/util
This preserves JSDoc annotations on defineWorld
output using the new withJsDoc
utility from @arktype/util
per @holic's request.
It will preserve additional keys on the instantiated type, but will not preserve optionality on keys present on the JS Doc source type. Examples can be found here in the associated unit tests.
I also bumped @arktype/util
and removed redundant locally defined utils. The only other change was evaluate
was renamed to show
, so I made that change wherever evaluate
was referenced as well.