官术网_书友最值得收藏!

Better developer experience and productivity

Let's fix the bug in the previous section by renaming price to unitPrice. Notice how Visual Studio Code gives us IntelliSense lists unitPrice as an option because it looking at our type definition:

Here, TypeScript and Visual Studio Code are using the types to provide a better authoring experience for us. As well as IntelliSense, we are provided with code navigation features, and the safe renaming of functions and variables across multiple files. These features increase our productivity, particularly when the code base is large and there is a team of people working on it.

主站蜘蛛池模板: 栾城县| 贵溪市| 靖宇县| 铜梁县| 吉首市| 长治市| 嘉善县| 安乡县| 筠连县| 乌鲁木齐市| 广元市| 垦利县| 临邑县| 呼和浩特市| 临沧市| 武功县| 巴东县| 临江市| 房产| 台东县| 湖州市| 石嘴山市| 娱乐| 上犹县| 沂水县| 田阳县| 南阳市| 连城县| 拉孜县| 庄河市| 安岳县| 长岭县| 泽普县| 巩留县| 宿迁市| 黄山市| 甘洛县| 天峻县| 阿拉善右旗| 大田县| 大新县|