From fb36e1767e3db6014e4371052eda5c20b2ec74f6 Mon Sep 17 00:00:00 2001 From: EthanLiu2023 Date: Mon, 14 Aug 2023 14:01:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8B=98=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/namespace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/namespace.md b/docs/namespace.md index 3179095..c5dce93 100644 --- a/docs/namespace.md +++ b/docs/namespace.md @@ -266,7 +266,7 @@ C.bar // 2 上面示例中,名称空间`C`为类`C`添加了一个静态属性`bar`。 -命名空间还能于同名 Enum 合并。 +命名空间还能与同名 Enum 合并。 ```typescript enum E { From e89c53427c50e0d78ace935ff87932f3cdabdd80 Mon Sep 17 00:00:00 2001 From: EthanLiu2023 Date: Mon, 14 Aug 2023 14:51:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E7=AC=AC19=E7=AB=A0=E6=96=87=E5=AD=97?= =?UTF-8?q?=E5=8B=98=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/declare.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/declare.md b/docs/declare.md index 192f3e1..918c44f 100644 --- a/docs/declare.md +++ b/docs/declare.md @@ -215,7 +215,7 @@ declare module 'moduleA' { 上面示例中,从模块`moduleA`导入了`Foo`接口,将其重命名为`Bar`,并用 declare 关键字为`Bar`增加一个属性`custom`。 -下面是另一个例子。一个项目有多个模块,可以在一个模型中,对另一个模块的接口进行类型扩展。 +下面是另一个例子。一个项目有多个模块,可以在一个模块中,对另一个模块的接口进行类型扩展。 ```typescript // a.ts