Skip to content

Commit

Permalink
fix: typo in 精读《Typescript 4.5-4.6 新特性》
Browse files Browse the repository at this point in the history
  • Loading branch information
careteenL authored Apr 11, 2022
1 parent 0198bcc commit a0cd519
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 a0cd519

Please sign in to comment.