Merge pull request #39 from leinad59/main-1

docs(object): fix typo
This commit is contained in:
Ruan YiFeng
2023-08-15 14:27:40 +08:00
committed by GitHub

View File

@@ -501,7 +501,7 @@ function draw({
## 结构类型原则
只要对象 B 满足 对象 A 的结构特征TypeScript 就认为对象 B 兼容对象 A 的类型这称为“结构类型”原则structual typing
只要对象 B 满足 对象 A 的结构特征TypeScript 就认为对象 B 兼容对象 A 的类型这称为“结构类型”原则structural typing
```typescript
const A = {