method IContainer.resolve IContainer.resolve<T>(token: string): T Resolves an instance, constructing it (and its dependencies) as needed. Type Parameters T The expected service type Parameters token: string The token to resolve Return Type T The resolved instance Throws Error If the token is unregistered or a dependency cycle is detected