Skip to content

Commit fd8fc53

Browse files
committed
chore: update
1 parent 8b352dc commit fd8fc53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/plugin-dts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pluginDts({
104104

105105
Whether to generate declaration files with building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
106106

107-
In scenarios where project references are configured but the referenced project is not built independently (such as source code development), this option needs to be enabled to ensure that the declaration files of referenced projects can be generated correctly.
107+
When project references are configured but the referenced project is not built independently (such as source code development scenarios), this option needs to be enabled to ensure that the declaration files of referenced projects can be generated correctly.
108108

109109
When this option is enabled, you must explicitly set `declarationDir` or `outDir` in `tsconfig.json` in order to meet the build requirements.
110110

website/docs/en/config/lib/dts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161

162162
Whether to generate declaration files with building the project references. This is equivalent to using the `--build` flag with the `tsc` command. See [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) for more details.
163163

164-
In scenarios where project references are configured but the referenced project is not built independently (such as source code development), this option needs to be enabled to ensure that the declaration files of referenced projects can be generated correctly.
164+
When project references are configured but the referenced project is not built independently (such as source code development scenarios), this option needs to be enabled to ensure that the declaration files of referenced projects can be generated correctly.
165165

166166
::: note
167167

website/docs/zh/config/lib/dts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161

162162
是否在生成类型声明文件时构建项目的 project references。这相当于在 `tsc` 命令中使用 `--build` 标志。更多详细信息请参考 [项目引用](https://www.typescriptlang.org/docs/handbook/project-references.html)
163163

164-
在配置了 project references 但被引用的项目未进行独立构建的场景中(例如源码开发),需要开启此选项,以确保依赖项目的类型声明文件能够正确生成。
164+
在配置了 project references 但被引用的项目未进行独立构建时(例如源码开发场景),需要开启此选项,以确保依赖项目的类型声明文件能够正确生成。
165165

166166
::: note
167167

0 commit comments

Comments
 (0)