astro/.changeset/neat-seas-peel.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
365 B
Markdown
Raw Normal View History

---
'astro': patch
---
Allow TypeScript inside script tags
This makes it so that you can use TypeScript inside of script tags like so:
```html
<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.