diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 60a6ff97..3c920454 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -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'