@每日英语6

Item6: Use Your Editor to Interrogate and Explore the Type System

- Take advantage of the Typescript language services by using an editor that can use them.
- 通过使用编辑器在 TS 语言系统中获取优势,编辑器可以使用 TS 语言系统;
- Use your editor to build an intuition for how the type system works and how Typescript infers types.
- 使用你的编辑器去构建一个直觉,类型是怎么样运行的,TS 怎样推断出类型的。
- Know how to jump into type declaration files to see how they model behavior
- 知道怎么条件类型断言文件去查看它们如何塑造行为。
展开
评论