From 70e806fe89e0f2e46342ba8979a0fe2dcf8460da Mon Sep 17 00:00:00 2001 From: huyikai Date: Fri, 12 Jan 2024 09:23:09 +0800 Subject: [PATCH] i18n(zh-cn): Update typescript.mdx --- src/content/docs/zh-cn/guides/typescript.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/content/docs/zh-cn/guides/typescript.mdx b/src/content/docs/zh-cn/guides/typescript.mdx index a65a337771504..f8add89dba9dc 100644 --- a/src/content/docs/zh-cn/guides/typescript.mdx +++ b/src/content/docs/zh-cn/guides/typescript.mdx @@ -279,9 +279,11 @@ const { title } = Astro.props; `astro check` 会检查你 TypeScript 项目中的所有文件。要检查 Svelte 和 Vue 文件中的类型,可以使用 [`svelte-check`](https://www.npmjs.com/package/svelte-check) 和 [`vue-tsc`](https://www.npmjs.com/package/vue-tsc) 包。 ::: -📚 阅读更多关于 Astro 中的 [`.ts` 文件导入](/zh-cn/guides/imports/#typescript)。 +import ReadMore from '~/components/ReadMore.astro' -📚 阅读更多关于 [TypeScript 配置](https://www.typescriptlang.org/tsconfig/)。 +阅读更多关于 Astro 中的 [`.ts` 文件导入](/zh-cn/guides/imports/#typescript) 的内容。 + +阅读更多关于 [TypeScript 配置](https://www.typescriptlang.org/tsconfig/) 的内容。 ## 故障排除