@lppedd/di-wise-neo 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1055,7 +1055,7 @@ declare function injectAll<Value>(token: Token<Value>): Value[];
1055
1055
  * @param Class - The class to resolve.
1056
1056
  * @param name - The name qualifier of the class to resolve.
1057
1057
  */
1058
- declare function injectBy<Instance extends object>(thisArg: any, Class: Constructor<Instance>, name?: string): Instance;
1058
+ declare function injectBy<Instance extends object>(thisArg: object, Class: Constructor<Instance>, name?: string): Instance;
1059
1059
  /**
1060
1060
  * Injects the value associated with the given token.
1061
1061
  *
@@ -1079,7 +1079,7 @@ declare function injectBy<Instance extends object>(thisArg: any, Class: Construc
1079
1079
  * @param token - The token to resolve.
1080
1080
  * @param name - The name qualifier of the token to resolve.
1081
1081
  */
1082
- declare function injectBy<Value>(thisArg: any, token: Token<Value>, name?: string): Value;
1082
+ declare function injectBy<Value>(thisArg: object, token: Token<Value>, name?: string): Value;
1083
1083
 
1084
1084
  /**
1085
1085
  * Asserts that the current stack frame is within an injection context,
@@ -1250,7 +1250,7 @@ declare function optionalAll<Value>(token: Token<Value>): Value[];
1250
1250
  * @param Class - The class to resolve.
1251
1251
  * @param name - The name qualifier of the class to resolve.
1252
1252
  */
1253
- declare function optionalBy<Instance extends object>(thisArg: any, Class: Constructor<Instance>, name?: string): Instance | undefined;
1253
+ declare function optionalBy<Instance extends object>(thisArg: object, Class: Constructor<Instance>, name?: string): Instance | undefined;
1254
1254
  /**
1255
1255
  * Injects the value associated with the given token,
1256
1256
  * or `undefined` if the token is not registered in the container.
@@ -1262,7 +1262,7 @@ declare function optionalBy<Instance extends object>(thisArg: any, Class: Constr
1262
1262
  * @param token - The token to resolve.
1263
1263
  * @param name - The name qualifier of the token to resolve.
1264
1264
  */
1265
- declare function optionalBy<Value>(thisArg: any, token: Token<Value>, name?: string): Value | undefined;
1265
+ declare function optionalBy<Value>(thisArg: object, token: Token<Value>, name?: string): Value | undefined;
1266
1266
 
1267
1267
  export { AutoRegister, ContainerScoped, EagerInstantiate, Inject, InjectAll, Injectable, Injector, Named, Optional, OptionalAll, ResolutionScoped, Scope, Scoped, TransientScoped, assertInjectionContext, build, classRef, createContainer, createType, inject, injectAll, injectBy, optional, optionalAll, optionalBy, setClassIdentityMapping, tokenRef };
1268
1268
  export type { ChildContainerOptions, ClassProvider, ClassRef, Constructor, Container, ContainerHook, ContainerOptions, ExistingProvider, FactoryProvider, Provider, ProviderType, RegistrationOptions, Token, TokenRef, Tokens, Type, ValueProvider };