Closed nickhstr closed 4 years ago
Ha, knew this would come back to haunt me. Actually opened an issue about it a little over a year ago to get some direction, but there was never anything explicitly landed on and, at the time, most examples used the [type]
attribute.
Does sound like [lang]
should be added though.
Support added in the current release—you can now either use type="text/ts"
or lang="ts"
. Package Control may take a bit to update but the update should be available in the next day or so.
That's great, thank you for the update!
With much of the Svelte docs suggesting the
lang="ts"
script attribute, it'd be great to have that added toscript-lang-decider
.