diff --git a/src/content/docs/en/install-and-setup.mdx b/src/content/docs/en/install-and-setup.mdx index 99515f3a8831e..73b52774be926 100644 --- a/src/content/docs/en/install-and-setup.mdx +++ b/src/content/docs/en/install-and-setup.mdx @@ -162,23 +162,16 @@ Explore the guides below to customize your development experience. description="Explore the helpful features of the dev toolbar." href="/en/guides/dev-toolbar/" /> - - - +### TypeScript in Astro + +Astro ships with built-in support for [TypeScript](https://www.typescriptlang.org/), which can help prevent errors at runtime by defining the shapes of objects and components in your code. + +You don't need to write TypeScript code in your Astro projects to benefit from it. Astro always treats your component code as TypeScript, and the [Astro VSCode Extension](/en/editor-setup/) will infer as much as it can to provide autocompletion, hints, and errors in your editor. + +Read more about using and configuring [TypeScript in Astro](/en/guides/typescript/) + ## Build and preview your site To check the version of your site that will be created at build time, quit the dev server (Ctrl + C) and run the appropriate build command for your package manager in your terminal: