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

Summary

In this chapter, we had a look at features of TypeScript that help us to build future-proof TypeScript code. We looked at how to set the appropriate ES levels to simulate or use modern ECMAScript features. We looked at how to use union and intersection types as well as how to create type aliases. We then looked into object spread and REST properties before we covered AOP with decorators. We also covered how to create and use map types, as well as using generics and promises.

As preparation for the UIs we will be producing in the rest of this book, we briefly looked at using Bootstrap to lay out UIs and covered the basics of the Bootstrap grid layout system.

In the next chapter, we are going to build a simple markdown editor using a simple Bootstrap web page hooked up to our TypeScript. We will see how techniques such as design patterns and single responsibility classes help us to create robust professional code.

主站蜘蛛池模板: 兴和县| 石景山区| 繁昌县| 大英县| 澎湖县| 同心县| 揭阳市| 文登市| 连山| 郴州市| 五原县| 江安县| 滦南县| 韶关市| 娱乐| 格尔木市| 从江县| 苍梧县| 黄大仙区| 泸溪县| 洛南县| 滁州市| 云阳县| 江城| 明溪县| 清流县| 隆回县| 会宁县| 潜山县| 九江市| 济南市| 凤凰县| 灌阳县| 常德市| 鲁山县| 崇义县| 宝应县| 于都县| 汤原县| 兰西县| 浪卡子县|