is it possible to get the instance of the component without using this? something like this?
@Component(...)
export class ... {
n = (() => {
const componentRef = inject(???);
componentRef === this
})();
}
I try to create a inject function and i need the instance of the component and i don't want to pass this into it just to get it in the DI.
also I don't want to pass a type of component because it should be generic.