parent
1ff3699d99
commit
2c00cb8f0f
|
@ -2650,10 +2650,10 @@ It takes two arguments: the component type to override (`HeroDetailComponent`) a
|
||||||
The [override metadata object](#metadata-override-object) is a generic defined as follows:
|
The [override metadata object](#metadata-override-object) is a generic defined as follows:
|
||||||
|
|
||||||
<code-example format="." language="javascript">
|
<code-example format="." language="javascript">
|
||||||
type MetadataOverride<T> = {
|
type MetadataOverride<T> = {
|
||||||
add?: Partial<T>;
|
add?: Partial<T>;
|
||||||
remove?: Partial<T>;
|
remove?: Partial<T>;
|
||||||
set?: Partial<T>;
|
set?: Partial<T>;
|
||||||
};
|
};
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
|
@ -3008,10 +3008,10 @@ appropriate to the method, that is, the parameter of an `@NgModule`,
|
||||||
`@Component`, `@Directive`, or `@Pipe`.
|
`@Component`, `@Directive`, or `@Pipe`.
|
||||||
|
|
||||||
<code-example format="." language="javascript">
|
<code-example format="." language="javascript">
|
||||||
type MetadataOverride<T> = {
|
type MetadataOverride<T> = {
|
||||||
add?: Partial<T>;
|
add?: Partial<T>;
|
||||||
remove?: Partial<T>;
|
remove?: Partial<T>;
|
||||||
set?: Partial<T>;
|
set?: Partial<T>;
|
||||||
};
|
};
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue