Open
Description
So apparently you can do jsdoc style doc comments in svelte components. It was an undocumented feature, sveltejs/svelte#7376 (Still not merged when I wrote this issue).
Would be cool to see a s-docs
snippet that does something like this:
"Svelte Documentation Comment": {
"prefix": "s-docs",
"body": [
"<!--",
" @component",
" ${1:This is a component description.}",
"-->"
],
"description": "Svelte Documentation Comment"
}
On a side note, any thoughts about adding lang="${1:ts}"
to the script snippet?
Metadata
Metadata
Assignees
Labels
No labels