- Switching to Angular(Third Edition)
- Minko Gechev
- 133字
- 2021-07-02 15:23:36
Better support by text editors and IDEs
There are a number of tools, such as Tern, that are trying to bring better autocompletion support for JavaScript in text editors and IDEs. However, as JavaScript is a dynamic language, it is impossible for the IDEs and text editors to make sophisticated suggestions without any metadata. Google Closure Compiler, for instance, uses type annotations provided in the JSDoc in order to provide static typing to the language.
Annotating the code with such metadata is a built-in feature of TypeScript known as type annotations. Based on them, text editors and IDEs can perform a better static analysis on our code. This provides better refactoring tools and autocompletion, which increases our productivity and allows us to make fewer mistakes while writing the source code for our applications.
- Node.js 10實(shí)戰(zhàn)
- Microsoft Application Virtualization Cookbook
- Power Up Your PowToon Studio Project
- PostgreSQL Cookbook
- jQuery EasyUI網(wǎng)站開(kāi)發(fā)實(shí)戰(zhàn)
- FreeSWITCH 1.6 Cookbook
- Java:Data Science Made Easy
- Learning Modular Java Programming
- JavaScript機(jī)器人編程指南
- Getting Started with Python
- Scrapy網(wǎng)絡(luò)爬蟲(chóng)實(shí)戰(zhàn)
- Monitoring Docker
- Spring Boot從入門到實(shí)戰(zhàn)
- RESTful Web API Design with Node.js
- Java面試一戰(zhàn)到底(基礎(chǔ)卷)