We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6442466 commit d214cf1Copy full SHA for d214cf1
src/provider.interface.ts
@@ -0,0 +1,29 @@
1
+import { ClassType, DependencyType } from './internal-types';
2
+
3
+export interface ProviderInterface {
4
+ token: string;
5
6
+ isPublic?: boolean;
7
8
+ autoFactory?: boolean;
9
10
+ /**
11
+ * Arguments of constructor
12
+ */
13
+ dependencies?: DependencyType[];
14
15
16
+ * Provide by class
17
18
+ useClass?: ClassType;
19
20
21
+ * provide by constant
22
23
+ useValue?: any;
24
25
26
+ * provide dynamic value
27
28
+ useFactory?: (...any) => any;
29
+}
0 commit comments