Validating Service Definition in TypeScript
Is this a legit/semantic service definition?
I have the impression that the 'EventService' should be an implementation detail, but then I am forced to provide the EventService when creating the Live version of the service :
Because otherwise it will not match the interface, and I want to provide all the required services at the runtime, like this:
Still, this is a bit smelly to me
I have the impression that the 'EventService' should be an implementation detail, but then I am forced to provide the EventService when creating the Live version of the service :
Because otherwise it will not match the interface, and I want to provide all the required services at the runtime, like this:
Still, this is a bit smelly to me
