docs: typos in directives docs (#24665)

Fixes some typos introduced by #23902

PR Close #24665
This commit is contained in:
cexbrayat 2018-06-25 22:37:19 +02:00 committed by Matias Niemelä
parent e97d961234
commit 0cbef9a073

View File

@ -342,9 +342,12 @@ export interface Directive {
* View queries are set before the `ngAfterViewInit` callback is called.
*
* @usageNotes
*
* ### Example
*
* The followoing example (shows what??)
* The following example shows how queries are defined
* and when their results are available in lifecycle hooks:
*
* ```
* @Component({
* selector: 'someDir',
@ -467,7 +470,7 @@ export interface Directive {
}
/**
* Type of the Component metadata.
* Type of the Directive metadata.
*/
export const Directive: DirectiveDecorator =
makeDecorator('Directive', (dir: Directive = {}) => dir);