mrjono1 / joi-to-typescript

Convert Joi Schemas to TypeScript interfaces
MIT License
124 stars 39 forks source link

Also expose the original schema in the `ConvertedType` interface #414

Closed cmaster11 closed 7 months ago

cmaster11 commented 7 months ago

Also expose the original schema in the ConvertedType interface, which e.g. allows inspecting it in the tsContentHeader and tsContentFooter calls.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (eed5a3e) 98.74% compared to head (ba2060c) 98.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #414 +/- ## ======================================= Coverage 98.74% 98.74% ======================================= Files 9 9 Lines 639 639 Branches 255 255 ======================================= Hits 631 631 Misses 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.