- Learn React with TypeScript 3
- Carl Rippon
- 100字
- 2021-06-10 19:16:31
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.
推薦閱讀
- 程序員面試算法寶典
- 精通軟件性能測試與LoadRunner實(shí)戰(zhàn)(第2版)
- Internet of Things with Intel Galileo
- 快速念咒:MySQL入門指南與進(jìn)階實(shí)戰(zhàn)
- Mastering Git
- Practical GIS
- SAP Web Dynpro for ABAP開發(fā)技術(shù)詳解:基礎(chǔ)應(yīng)用
- Arduino Electronics Blueprints
- Oracle Database 12c DBA官方手冊(第8版)
- Analytics for the Internet of Things(IoT)
- 51單片機(jī)C語言程序設(shè)計(jì)經(jīng)典實(shí)例(第3版)
- jQuery Mobile從入門到精通
- Java 8實(shí)戰(zhàn)
- Web Penetration Testing with Kali Linux
- 編碼:隱匿在計(jì)算機(jī)軟硬件背后的語言