跳到主要内容

1 篇文档带有标签「声明类型」

查看所有标签

Interface

> One of TypeScript’s core principles is that type checking focuses on the _shape_ that values have. This is sometimes called “duck typing” or “structural subty