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

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.

主站蜘蛛池模板: 固始县| 安徽省| 双鸭山市| 资中县| 松溪县| 龙口市| 井陉县| 陇川县| 萍乡市| 个旧市| 鄂伦春自治旗| 高尔夫| 衡阳市| 岫岩| 十堰市| 昌宁县| 通辽市| 铜陵市| 永兴县| 凤翔县| 麦盖提县| 新巴尔虎右旗| 武冈市| 紫金县| 津市市| 孝昌县| 佛山市| 定边县| 泸水县| 上思县| 南城县| 偏关县| 新河县| 竹北市| 洛南县| 龙岩市| 育儿| 延安市| 江都市| 香格里拉县| 宿松县|