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

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.

主站蜘蛛池模板: 友谊县| 方正县| 南城县| 瑞丽市| 工布江达县| 乌鲁木齐县| 衡南县| 岐山县| 寿阳县| 琼海市| 哈巴河县| 祁门县| 肇东市| 南皮县| 十堰市| 甘南县| 灵石县| 佳木斯市| 隆安县| 汉阴县| 横山县| 临泉县| 砀山县| 山西省| 阜新| 静安区| 三河市| 修文县| 普定县| 北宁市| 福贡县| 错那县| 泾川县| 万山特区| 新田县| 白河县| 定襄县| 平安县| 突泉县| 榆树市| 黄浦区|