Skip to content

Commit

Permalink
astro sync CLI reference (withastro#2244)
Browse files Browse the repository at this point in the history
* new: astro sync CLI reference

* nit: Generate -> Generates

Co-authored-by: Sarah Rainsberger <[email protected]>

Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
bholmesdev and sarah11918 authored Dec 27, 2022
1 parent 8aae802 commit 78539ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/en/reference/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ This command only checks types within `.astro` files.

📚 Read more about [TypeScript support in Astro](/en/guides/typescript/).

## `astro sync`

<p>
<Since v="1.7.0" />
</p>

Generates TypeScript types for all Astro modules. Today, this includes the `astro:content` module for the (experimental) [Content Collections API](/en/guides/content-collections/).

## `astro add`

Adds an integration to your configuration. Read more in [the integrations guide](/en/guides/integrations-guide/#automatic-integration-setup).
Expand Down

0 comments on commit 78539ff

Please sign in to comment.