docs: update link to AstroUserConfig type definitions (#1961)

* docs: update link to AstroUserConfig type definitions

addresses https://github.com/snowpackjs/astro/issues/1960

* docs: update link to `@types/astro.ts` to refer to the `latest` branch.

22b73e652d changes the branch to `main`, this changes back to use `latest`.
This commit is contained in:
Masataka Yakura 2021-11-23 01:12:35 +09:00 committed by GitHub
parent 63df5fbf23
commit f37c7ad2ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ title: Configuration Reference
To configure Astro, add an `astro.config.mjs` file in the root of your project. All settings are optional.
You can view the full configuration API (including information about default configuration) on [GitHub.](https://github.com/snowpackjs/astro/blob/latest/packages/astro/src/@types/astro.ts)
You can view the full configuration API (including information about default configuration) on [GitHub.](https://github.com/snowpackjs/astro/blob/latest/packages/astro/src/%40types/astro.ts)
```js
// Example: astro.config.mjs