docs: typos in directives docs (#24665)
Fixes some typos introduced by #23902 PR Close #24665
This commit is contained in:
parent
e97d961234
commit
0cbef9a073
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user