From 262c87d0b0c33e3c1639dc462730e8f032856916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=B8=B8=E5=90=9B?= Date: Sat, 9 Oct 2021 00:03:56 +0800 Subject: [PATCH] docs: update docs/guide/configuration.md Co-authored-by: Eduardo San Martin Morote --- docs/guide/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'