fix: typo

This commit is contained in:
Zhicheng Wang 2017-08-20 15:05:23 +08:00
parent 5fef0dae9c
commit ed507026cb

View File

@ -263,7 +263,7 @@ Angular instead inspects directive and component classes and calls the hook meth
Angular finds and calls methods like `ngOnInit()`, with or without the interfaces.
Angular会去检测我们的指令和组件的类一旦发现钩子方法被定义了就调用它们。
Agnular会找到并调用像`ngOnInit()`这样的钩子方法,有没有接口无所谓。
Angular会找到并调用像`ngOnInit()`这样的钩子方法,有没有接口无所谓。
Nonetheless, it's good practice to add interfaces to TypeScript directive classes
in order to benefit from strong typing and editor tooling.