udic 1.1.0 → 1.2.0

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/index.d.ts +1 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -41,7 +41,7 @@ export declare const service: <const T extends string>(name: T) => (<K>() => Ser
41
41
  * @param f
42
42
  */
43
43
  export declare const use: <
44
- const T extends List<(() => Service<any, any>) | Compute<any, any>>,
44
+ const T extends List<Dependency>,
45
45
  R
46
46
  >(deps: T, f: (...args: { [K in keyof T] : TResult<T[K]> }) => R) => Compute<TDependency<T[number]>, R>;
47
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "udic",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "A simple dependency injection library",
5
5
  "keywords": ["di"],
6
6
  "license": "MIT",