Optional
scope: ScopeProtected
buildOptional
Readonly
scopeOptional
token: string | number | bigint | boolean | symbol | RegExp | TypeObjectLiteral | TypeNever | TypeAny | TypeUnknown | TypeVoid | TypeObject | TypeString | TypeNumber | TypeBoolean | TypeBigInt | TypeSymbol | TypeNull | TypeUndefined | TypeLiteral | TypeTemplateLiteral | TypeParameter | TypeFunction | TypeMethod | TypeProperty | TypePromise | TypeClass | TypeEnum | TypeEnumMember | TypeUnion | TypeIntersection | TypeArray | TypeIndexSignature | TypePropertySignature | TypeMethodSignature | TypeTypeParameter | TypeInfer | TypeTuple | TypeTupleMember | TypeRest | TypeRegexp | Packed | T | ClassType<T> | AbstractClassType<T>Optional
module: InjectorModule<any, InjectorModule<any, any>>Returns the unscoped injector. Use .get(T, Scope)
for resolving scoped token.
Optional
module: InjectorModule<any, InjectorModule<any, any>>Optional
scope: stringOptional
module: InjectorModule<any, InjectorModule<any, any>>Optional
type: ReceiveType<T>Optional
module: InjectorModule<any, InjectorModule<any, any>>Static
forGenerated using TypeDoc
A InjectorContext is responsible for taking a root InjectorModule and build all Injectors.
It also can create scopes aka a sub InjectorContext with providers from a particular scope.