Skip to content

Typescript in component markup #568

Closed as not planned
Closed as not planned
@l1bbcsg

Description

@l1bbcsg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions