Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow JS snapshots within TS plugin #2565

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. fix: allow JS snapshots within TS plugin

    So far we've always assumed that a Svelte file is a TS file for simplicity, due to our default language (which was removed a long time ago) and also because IIRC there were issues with TS having its snapshot scriptKind being switched. That seems to be no longer the case, and so we can get better at properly analyzing whether or not this is a TS file, to allow JSDoc to take action when it's a JS file.
    
    #2555
    dummdidumm committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    16df0d3 View commit details
    Browse the repository at this point in the history