From ef925b53d6412fc7838a6487e414d95b21e116fe Mon Sep 17 00:00:00 2001
From: Kylin <1159469891@qq.com>
Date: Tue, 23 Sep 2025 21:32:25 +0800
Subject: [PATCH] docs: update content
---
guide/features.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guide/features.md b/guide/features.md
index f795e806..722f2a08 100644
--- a/guide/features.md
+++ b/guide/features.md
@@ -153,13 +153,13 @@ Vite 默认的类型定义是写给它的 Node.js API 的。要将其补充到
export default content
}
```
-- If you are using `compilerOptions.types`, ensure the file is included in `tsconfig.json`:
+- 如果你正在使用 `compilerOptions.types`,请确保该文件已包含在 `tsconfig.json` 中:
```json [tsconfig.json]
{
"include": ["src", "./vite-env-override.d.ts"]
}
```
-- If you are using triple-slash directives, update the file containing the reference to `vite/client` (normally `vite-env.d.ts`):
+- 如果你正在使用三斜线指令,请更新包含对 `vite/client` 引用的文件(通常是 `vite-env.d.ts`):
```ts
///
///