• Classes decorated with Injector will have their methods automatically injected using inject.

    These injections will not be automatically cleaned up. To prevent a memory leak, make sure you always call Injector.deregister on the instance when you're done with it.

    Note: Alternatively, if you want to register your injection instances manually on a case-by-case basis, you can instead use Injector.register

    Type Parameters

    • T

    Parameters

    • constructor: Class<T, any[]>

    Returns NullaryClass<T>

Generated using TypeDoc