Skip to content

Commit 241123e

Browse files
authored
update Json2ts link (#645)
* Update typeScript.zh-CN.md Update the link because the original was 404 * Update typeScript.en-US.md Update the link because the original was 404
1 parent 6800721 commit 241123e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/typeScript.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ declare namespace API {
5656
}
5757
```
5858

59-
> There are no type definitions in many projects, and websites such as [json2ts](http://json2ts.com/) are recommended for automatic conversion.
59+
> There are no type definitions in many projects, and websites such as [json2ts](https://json2ts-plum.vercel.app/) are recommended for automatic conversion.
6060
6161
We can use it easily when using it. Files ending with `d.ts` will be imported to the global by TypeScript by default, but the `import` syntax cannot be used. If you need to quote, you need to use triple slashes.
6262

docs/docs/typeScript.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ declare namespace API {
5858
}
5959
```
6060

61-
> 很多项目中是没有类型定义的,这里推荐 [json2ts](http://json2ts.com/) 等网站来自动转化。
61+
> 很多项目中是没有类型定义的,这里推荐 [json2ts](https://json2ts-plum.vercel.app/) 等网站来自动转化。
6262
6363
在使用时我们就可以很简单的来使用, `d.ts` 结尾的文件会被 TypeScript 默认导入到全局,但是其中不能使用 `import` 语法,如果需要引用需要使用三斜杠。
6464

0 commit comments

Comments
 (0)