zodios icon indicating copy to clipboard operation
zodios copied to clipboard

exactOptionalPropertyTypes failing on ParametersBuilder

Open Downchuck opened this issue 1 year ago • 2 comments

These are failing in a more strict mode which expects:

        description?: string;

But in the index.d.ts distribution the methods of declare class ParametersBuilder are defined with:

        description?: string | undefined;

Downchuck avatar Jul 22 '24 22:07 Downchuck

This issue is related to https://github.com/colinhacks/zod/issues/635 - with a fix to the zod output type likely in a future release (version 4)

Downchuck avatar Jul 23 '24 00:07 Downchuck

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 22 '24 04:08 stale[bot]

still relevant. https://github.com/colinhacks/zod/issues/635

santiago-elustondo avatar Mar 07 '25 23:03 santiago-elustondo