@rhtml/di 0.0.123 → 0.0.125

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ export interface SystemComponent {
21
21
  }
22
22
  export declare function remove<T>(c: T | ObjectType<T>): boolean;
23
23
  export declare const clear: () => void;
24
- export declare type Reader<T, K> = (d?: T) => K;
24
+ export declare type Reader<T, K> = (...d: T[]) => K;
25
25
  export declare function Reader<T>(...di: ObjectType<unknown>[]): MethodDecorator;
26
26
  export declare function Inject<T>(identifier: ObjectUnion<T>): any;
27
27
  export declare function Inject<T>(identifier: ObjectUnion<T>): PropertyDecorator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhtml/di",
3
- "version": "0.0.123",
3
+ "version": "0.0.125",
4
4
  "description": "RHTML simplest Dependency Injection",
5
5
  "scripts": {
6
6
  "start": "npx gapi start --local --path=./example/main.ts",