We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Snippets that are passed to components can be typed as parts of $props but how about snippets defined and used locally?
$props
Workaround: Just use TS.
{#snippet test(/** @type {number} */ arg)} {arg} {/snippet}
Expected identifier or destructure pattern
No response
System: OS: Windows 10 10.0.19045 CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Memory: 10.15 GB / 31.92 GB Binaries: Node: 18.19.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 9.2.0 - ~\AppData\Roaming\npm\npm.CMD pnpm: 8.6.9 - ~\AppData\Local\pnpm\pnpm.EXE Browsers: Chrome: 123.0.6312.124 Edge: Spartan (), Chromium (123.0.2420.97), ChromiumDev () Internet Explorer: 11.0.19041.3636
annoyance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Snippets that are passed to components can be typed as parts of
$props
but how about snippets defined and used locally?Workaround: Just use TS.
Reproduction
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: