Type alias: ConfigOf<TComponent>
Ƭ ConfigOf<TComponent>: TComponent extends Config ? Readonly<TComponent["config"]> : never
Gets config type from a component by extracting the config property type.
Can be used in conjunction with the @MnSubComponent decorator
to obtain the config type of the current component
when resolving the sub-component input from the config of the parent component.
Type parameters
| Name | Type |
|---|---|
TComponent | extends Component |