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 006acaa commit 063100cCopy full SHA for 063100c
apps/di/src/dep.ts
@@ -0,0 +1,8 @@
1
+import { Injectable } from '@wikia/dependency-injection';
2
+
3
+@Injectable()
4
+export class DepClass {
5
+ foo() {
6
+ return 'foo';
7
+ }
8
+}
apps/di/src/main.ts
@@ -1 +1,7 @@
-console.log('Hello World!');
+import { DepClass } from './dep';
+export class MainClass {
+ constructor(public dep: DepClass) {}
0 commit comments