Closed cmaster11 closed 7 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
43d58ee
) 98.80% compared to head (49a5e37
) 98.74%.
Files | Patch % | Lines |
---|---|---|
src/parse.ts | 97.40% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Note: this is based/dependent on https://github.com/mrjono1/joi-to-typescript/pull/412
Add:
When used, these settings can help formatting the generated code to improve its readability.
More context
This PR was born because I was investigating a prettier bug that would cause JsDocs of union types to be "squashed", e.g. this code:
becomes:
So, I went on the way of "let's disable prettier" and explored around, and I realized that having such two settings can by default improve the readability of types.