mirror of
https://github.com/withastro/astro.git
synced 2025-02-24 22:46:02 -05:00
365 B
365 B
astro |
---|
patch |
Allow TypeScript inside script tags
This makes it so that you can use TypeScript inside of script tags like so:
<script>
interface Person {
name: string;
}
const person: Person = {
name: 'Astro'
};
console.log(person);
</script>
Note that the the VSCode extension does not currently support this, however.