I have ProviderToken<SomeComponent>
but I need actual <SomeComponent>
to be able to feed it into the viewContainerRef.createComponent(SomeComponent)
.
Is there a way to “convert” ProviderToken<SomeComponent>
to <SomeComponent>
?
I have ProviderToken<SomeComponent>
but I need actual <SomeComponent>
to be able to feed it into the viewContainerRef.createComponent(SomeComponent)
.
Is there a way to “convert” ProviderToken<SomeComponent>
to <SomeComponent>
?