Supported extensions: ts, tsx

TypeScript is a typed superset of JavaScript that compiles down to plain JavaScript, which also supports modern ES2015+ features. Transforming TypeScript works out of the box without any additional configuration.

<!-- index.html -->
  <script src="./index.ts"></script>
// index.ts
import message from './message'
// message.ts
export default 'Hello, world'

Help us improve the docs

If something is missing or not entirely clear, please file an issue on the website repository or edit this page.