fix:第19章文字勘误

This commit is contained in:
EthanLiu2023
2023-08-14 14:51:53 +08:00
parent fb36e1767e
commit e89c53427c

View File

@@ -215,7 +215,7 @@ declare module 'moduleA' {
上面示例中,从模块`moduleA`导入了`Foo`接口,将其重命名为`Bar`,并用 declare 关键字为`Bar`增加一个属性`custom`
下面是另一个例子。一个项目有多个模块,可以在一个模中,对另一个模块的接口进行类型扩展。
下面是另一个例子。一个项目有多个模块,可以在一个模中,对另一个模块的接口进行类型扩展。
```typescript
// a.ts