Is it a valid typescript / Angular, or correct to assign a component to a variable? Just assigning , without type, etc.
For example:
...
import {CompB} from './comp-b.component';
export class CompA {
let c = CompB;
}
Or the right way will be to create an interface / use generic , etc?
Thanks.