Angular service injecting another service (both children of same abstract class) can’t access injected service’s methods ("reading undefined")

I have multiple services handling notably API requests for different resources. As they’re very similar, I created a parent abstract generic class like this: abstract class GenericService<T>{ foo(){ bar(); } abstract bar(); } But they’re also highly interconnected so I have a lot of them injected into others: class R1Service extends GenericService<R1>{ … bar(){/*do something*/}; […]

"TypeError: window.require is not a function" in Electron/Angular sample app

So I’m very new to Angular and Electron, and I’ve been having difficulties getting things to work. I’ve been looking for sample apps so that I could have a starting point that I could understand, and I came across this: I’ve been following it, and at the point where I first run npm run […]

By Wolfeur
Categorized as angular, electron, typeerror, typescript Tagged , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us