Skip to content

Commit 70e806f

Browse files
committed
i18n(zh-cn): Update typescript.mdx
1 parent 9a38dea commit 70e806f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/content/docs/zh-cn/guides/typescript.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,11 @@ const { title } = Astro.props;
279279
`astro check` 会检查你 TypeScript 项目中的所有文件。要检查 Svelte 和 Vue 文件中的类型,可以使用 [`svelte-check`](https://www.npmjs.com/package/svelte-check)[`vue-tsc`](https://www.npmjs.com/package/vue-tsc) 包。
280280
:::
281281

282-
📚 阅读更多关于 Astro 中的 [`.ts` 文件导入](/zh-cn/guides/imports/#typescript)
282+
import ReadMore from '~/components/ReadMore.astro'
283283

284-
📚 阅读更多关于 [TypeScript 配置](https://www.typescriptlang.org/tsconfig/)
284+
<ReadMore>阅读更多关于 Astro 中的 [`.ts` 文件导入](/zh-cn/guides/imports/#typescript) 的内容。<ReadMore>
285+
286+
<ReadMore>阅读更多关于 [TypeScript 配置](https://www.typescriptlang.org/tsconfig/) 的内容。<ReadMore>
285287

286288
## 故障排除
287289

0 commit comments

Comments
 (0)