Hacker News new | ask | show | jobs
by developit 2025 days ago
You need to change the HTML to point to the tsx file too:

<script type="module" src="./index.tsx"></script>

There are ambient TS definitions for CSS Modules, it just had a bug in 1.0.0 - fix is merged and will be released shortly.

1 comments

Thank you!