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 06a33984af
commit 0b28732d77
1 changed files with 5 additions and 2 deletions

View File

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