docs: update docs/guide/configuration.md

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
pull/410/head
云游君 4 years ago committed by GitHub
parent fd010d43b7
commit 262c87d0b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ const config = {
module.exports = config
```
If you are using TypeScript, you can use `.vitepress/config.ts` instead to get better types hint for VitePress Config.
If you are using TypeScript, you can use it in your config too by using the `.ts` extension instead of the `.js` one:
```ts
import type { UserConfig } from 'vitepress'

Loading…
Cancel
Save