docs: typos in directives docs (#24665)
Fixes some typos introduced by #23902 PR Close #24665
This commit is contained in:
parent
06a33984af
commit
0b28732d77
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue