@dereekb/dbx-core 11.0.2 → 11.0.3

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,3 +9,4 @@ export * from './injection.instance';
9
9
  export * from './injection.rxjs';
10
10
  export * from './injection.directive';
11
11
  export * from './injection';
12
+ export * from './injector';
@@ -0,0 +1,10 @@
1
+ import { AbstractType, Injector, Provider, Type } from '@angular/core';
2
+ export type InjectableType<T> = (Type<T> | AbstractType<T>) & Provider;
3
+ /**
4
+ * Creates a new instance of the injectable type with the input injector.
5
+ *
6
+ * @param type
7
+ * @param parent
8
+ * @returns
9
+ */
10
+ export declare function newWithInjector<T>(type: InjectableType<T>, parent: Injector): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-core",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "peerDependencies": {
5
5
  "@dereekb/util": "*",
6
6
  "@dereekb/rxjs": "*",