Closed sapphi-red closed 3 months ago
Name | Link |
---|---|
Latest commit | 7a53d315933a2ba8c5f83547d4458a1027f030cc |
Latest deploy log | https://app.netlify.com/sites/twoslash/deploys/660420bbee7fee0008d5e11a |
Deploy Preview | https://deploy-preview-33--twoslash.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.25%. Comparing base (
249c9d7
) to head (7a53d31
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Currently twoslash requires the cut comment to be at the beginning of the line. If I wanted to cut out the type comment for a variable in a function, I have to write it like below.
But if that project uses prettier, it will be formatted and the comments will have a space before the
//
like below.So I'll have to disable prettier for this part of the code (https://github.com/vitejs/vite/blob/48a2bbb9994f9cd67e3d7455a57f6579f64e784d/docs/config/build-options.md?plain=1#L51-L66).
This PR allows the cut comment to have space characters before.