[w3c/webcomponents] [HTML Modules] How to jive well with TypeScript? (#879)

Is it possible to design HTML Modules in some way that allows for TypeScript to be able to (somehow) provide strong type support in the markup, like it currently does for JSX?

In other words, could HTML Modules be used as a `single-file component`-like system and provide type support?

What sort of requirement would an HTML Module spec need to have to support both plain-JS runtime and static type scenarios like with TypeScript.

I love Vue's single-file component developer experience in plain JavaScript, but I'm a TypeScript user, so I instead use JSX because I value the strong type support within my markup although the dev experience isn't as neat as Vue's SFC.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/879

Received on Friday, 15 May 2020 19:40:14 UTC