@needle-di/core 0.10.0 → 0.10.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.
Files changed (2) hide show
  1. package/dist/tokens.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/tokens.d.ts CHANGED
@@ -15,11 +15,11 @@ export declare class InjectionToken<T> {
15
15
  toString(): string;
16
16
  }
17
17
  type InjectionTokenOptions<T> = {
18
- async?: false;
19
- factory: () => T;
20
- } | {
21
18
  async: true;
22
19
  factory: () => Promise<T>;
20
+ } | {
21
+ async?: false;
22
+ factory: () => T;
23
23
  };
24
24
  /**
25
25
  * Type-guard to check if a token is a class reference.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-di/core",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A simple TypeScript library for dependency injection",
5
5
  "license": "MIT",
6
6
  "keywords": [