上一页 1 ··· 409 410 411 412 413 414 415 416 417 ··· 494 下一页
摘要: new.target is a new “magical” value available in all functions, thoughin normal functions it will always be undefined. In any constructor,new.target a 阅读全文
posted @ 2016-06-13 20:50 Zhentiw 阅读(126) 评论(0) 推荐(0)
摘要: Each function should have a 'name' property. It can be anonymous, empty, the same as function name, or class name. For example: 阅读全文
posted @ 2016-06-13 17:24 Zhentiw 阅读(139) 评论(0) 推荐(0)
摘要: Original artial --> link How descorator looks like: Descorator in action: We have a class, which have an method call meow(): When Javascritp Engine re 阅读全文
posted @ 2016-06-13 04:32 Zhentiw 阅读(369) 评论(0) 推荐(0)
摘要: Orgial aritial --> Link The problem with Angular 1 DI: Angular 2 DI: Solve the singletons problem: The service you inject to the parent component can 阅读全文
posted @ 2016-06-12 03:45 Zhentiw 阅读(252) 评论(0) 推荐(0)
摘要: Oingial aritial --> Link Take away: When you use `templateUrl` & `styleUrls`, the path are relative to the application root. So if you compoennt is pu 阅读全文
posted @ 2016-06-11 22:32 Zhentiw 阅读(316) 评论(0) 推荐(0)
摘要: TypeScript allows you to emit decorator metadata which enables more powerful features through reflection. This lesson show you how decorators and refl 阅读全文
posted @ 2016-06-11 05:07 Zhentiw 阅读(1062) 评论(0) 推荐(0)
摘要: Decorators are a feature of TypeScript that are becoming more and more common in many major libraries. This lesson walks you through what decorators a 阅读全文
posted @ 2016-06-10 17:39 Zhentiw 阅读(160) 评论(0) 推荐(0)
摘要: Using TypeScript when installing packages from npm often requires you to install related definition files. This lesson shows you how to use typings to 阅读全文
posted @ 2016-06-10 03:22 Zhentiw 阅读(293) 评论(0) 推荐(0)
摘要: One of the most confusing parts of getting started with TypeScript is figuring out how to use all the libraries that you know and love from JavaScript 阅读全文
posted @ 2016-06-10 02:14 Zhentiw 阅读(2287) 评论(0) 推荐(0)
摘要: This lesson covers using your first TypeScript Interface and what happens to the Interface when it is compiled down to JavaScript. Define the interfac 阅读全文
posted @ 2016-06-10 01:59 Zhentiw 阅读(119) 评论(0) 推荐(0)
上一页 1 ··· 409 410 411 412 413 414 415 416 417 ··· 494 下一页