Skip to content

Typescript in component markup #568

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

Closed
l1bbcsg opened this issue Dec 21, 2022 · 2 comments
Closed

Typescript in component markup #568

l1bbcsg opened this issue Dec 21, 2022 · 2 comments

Comments

@l1bbcsg
Copy link

l1bbcsg commented Dec 21, 2022

Docs note the following:

Using TypeScript inside a component's markup is currently not supported. See #318 for development updates to this.

And there's also issue #378 that was closed in favor of the same #318

#318 however is closed as completed via #392, so its original issue resolved, which was not really about transpiling code found with component markup section.

What is the current status of the issue of using TS in templates?

As far as I understand it's still not supported and for this reason it's also not possible to downgrade ECMA versions for bits of code in HTML templates, thus making svelte-preprocess not production-friendly.

@dummdidumm
Copy link
Member

Closing as duplicate of #525

@dummdidumm dummdidumm closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
@l1bbcsg
Copy link
Author

l1bbcsg commented Mar 6, 2023

The docs should be updated at least. Currently it leads to a tangled mesh of issues with no clear status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants