karambit-inject
    Preparing search index...

    Interface Provider<T>

    Utility type for lazy injection. If T is available for injection within the component, then requesting Provider<T> will inject a function that constructs T, respecting its scope.

    interface Provider<T> {
        __karambitProvider?: unknown;
        (): T;
    }

    Type Parameters

    • T
    Index

    Properties

    __karambitProvider?: unknown