I am facing an issue. There is a method in component A that I want to call in component B from the constructor. Here is an example:
export class A {
methodA() {
do something;
}
}
export class B {
constructor(private a:A){}
methodB() {
this.a.methodA();
}
}
However, I am encountering the following problem:
Can't resolve all parameters for CategoryComponent