Skip to content

Commit

Permalink
i18n(zh-cn): Update typescript.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
huyikai committed Jan 12, 2024
1 parent 9a38dea commit 70e806f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/content/docs/zh-cn/guides/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
<ReadMore>阅读更多关于 Astro 中的 [`.ts` 文件导入](/zh-cn/guides/imports/#typescript) 的内容。<ReadMore>

<ReadMore>阅读更多关于 [TypeScript 配置](https://www.typescriptlang.org/tsconfig/) 的内容。<ReadMore>

## 故障排除

Expand Down

0 comments on commit 70e806f

Please sign in to comment.