Skip to main content

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

NameType
TComponentextends Component

Defined in

packages/core/src/typing/component.ts:67