electron-injector 1.1.4 → 1.1.5

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.
package/dist/index.d.cts CHANGED
@@ -21,7 +21,7 @@ declare class ExecutionContext {
21
21
  set payload(payload: any);
22
22
  }
23
23
  declare function applyDecorators(...decorators: CallableFunction[]): (target: Object, _propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => void;
24
- declare function createParamDecorator(fn: (context: ExecutionContext) => any): ParameterDecorator;
24
+ declare function createParamDecorator(fn: (context: ExecutionContext) => any): () => ParameterDecorator;
25
25
 
26
26
  type Class<T = any> = new (...args: any[]) => T;
27
27
  type InjectableType = 'singleton' | 'transient';
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare class ExecutionContext {
21
21
  set payload(payload: any);
22
22
  }
23
23
  declare function applyDecorators(...decorators: CallableFunction[]): (target: Object, _propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => void;
24
- declare function createParamDecorator(fn: (context: ExecutionContext) => any): ParameterDecorator;
24
+ declare function createParamDecorator(fn: (context: ExecutionContext) => any): () => ParameterDecorator;
25
25
 
26
26
  type Class<T = any> = new (...args: any[]) => T;
27
27
  type InjectableType = 'singleton' | 'transient';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-injector",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Biblioteca para el desarrollo de aplicaciones con electron que proporciona una arquitectura robusta con inyección e inversion de dependencias.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",