Skip to content

Commit

Permalink
Merge pull request ascoders#409 from careteenL/patch-2
Browse files Browse the repository at this point in the history
fix: typo in 精读《Typescript 4.5-4.6 新特性》
  • Loading branch information
ascoders authored Apr 11, 2022
2 parents 0198bcc + a0cd519 commit b3c5ad9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class Person {
}
```

该判断隐式要求了 `#name in other``other` 是 Person 实例化的对象,因为该语法仅可能存在于类中,而且还能进一步类型缩窄为 Persion 类。
该判断隐式要求了 `#name in other``other` 是 Person 实例化的对象,因为该语法仅可能存在于类中,而且还能进一步类型缩窄为 Person 类。

## Import 断言

Expand Down

0 comments on commit b3c5ad9

Please sign in to comment.