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

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.

主站蜘蛛池模板: 皮山县| 晋州市| 灌南县| 卓尼县| 富阳市| 芦山县| 永靖县| 和静县| 和田县| 北川| 手机| 澳门| 通化市| 普格县| 邯郸市| 昌江| 武功县| 丹棱县| 顺平县| 海兴县| 丹寨县| 乳山市| 阿拉善左旗| 辛集市| 东源县| 四子王旗| 池州市| 温宿县| 铁岭县| 石屏县| 苏州市| 巴南区| 图片| 吴忠市| 阜南县| 竹山县| 屏山县| 新龙县| 阿合奇县| 大宁县| 普兰店市|