Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions src/content/docs/en/install-and-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
/>
<LinkCard
title="TypeScript"
description="Configure Astro's built-in TypeScript support to be as strict or relaxed as you like!"
href="/en/guides/typescript/"
/>
<LinkCard
title="Import Aliases"
description="Create convenient shortcuts for your file imports."
href="/en/guides/aliases/"
/>
<LinkCard
title="Environment Variables"
description="Set and use environment variables in your project."
href="/en/guides/environment-variables/"
/>
</CardGrid>

### 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.

<ReadMore>Read more about using and configuring [TypeScript in Astro](/en/guides/typescript/)</ReadMore>

## Build and preview your site

To check the version of your site that will be created at build time, quit the dev server (<kbd>Ctrl</kbd> + <kbd>C</kbd>) and run the appropriate build command for your package manager in your terminal:
Expand Down