Support lang="ts" #11

Closed
opened 2020-10-05 23:44:10 +00:00 by nickhstr · 3 comments
nickhstr commented 2020-10-05 23:44:10 +00:00 (Migrated from github.com)

With much of the Svelte docs suggesting the lang="ts" script attribute, it'd be great to have that added to script-lang-decider.

With much of the Svelte docs suggesting the `lang="ts"` script attribute, it'd be great to have that added to `script-lang-decider`.
corneliusio commented 2020-10-08 14:38:37 +00:00 (Migrated from github.com)

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.

Ha, knew this would come back to haunt me. Actually opened [an issue](https://github.com/sveltejs/svelte/issues/2719) 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.
corneliusio commented 2020-10-10 19:24:24 +00:00 (Migrated from github.com)

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.

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.
nickhstr commented 2020-10-12 14:44:17 +00:00 (Migrated from github.com)

That's great, thank you for the update!

That's great, thank you for the update!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
repos/svelte-sublime#11
No description provided.