@dereekb/dbx-core 12.6.11 → 12.6.13

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.
@@ -9,11 +9,11 @@ export interface DbxInjectionComponentConfig<T = unknown> {
9
9
  /**
10
10
  * (Optional) providers to provide to the existing injector.
11
11
  */
12
- readonly providers?: StaticProvider[];
12
+ readonly providers?: Maybe<StaticProvider[]>;
13
13
  /**
14
14
  * (Optional) Custom parent injector to use when creating the component.
15
15
  */
16
- readonly injector?: Injector;
16
+ readonly injector?: Maybe<Injector>;
17
17
  /**
18
18
  * (Optional) Module ref to use when creating the component.
19
19
  */
@@ -21,11 +21,11 @@ export interface DbxInjectionComponentConfig<T = unknown> {
21
21
  /**
22
22
  * (Optional) Custom initialization code when an instance is created.
23
23
  */
24
- readonly init?: (instance: T) => void;
24
+ readonly init?: Maybe<(instance: T) => void>;
25
25
  /**
26
26
  * unknown optional data to inject into the component.
27
27
  */
28
- readonly data?: unknown;
28
+ readonly data?: Maybe<unknown>;
29
29
  }
30
30
  /**
31
31
  * The injector may be important to where the dbxInjection is getting injected at. Some types may disallow setting a custom parent injector.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-core",
3
- "version": "12.6.11",
3
+ "version": "12.6.13",
4
4
  "peerDependencies": {
5
5
  "@dereekb/util": "*",
6
6
  "@dereekb/rxjs": "*",