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 218555a commit 1c77179Copy full SHA for 1c77179
README.md
@@ -55,7 +55,7 @@ import { Injectable, Inject } from 'container-ioc';
55
56
@Injectable()
57
export class Application implements IApplication {
58
- constructor(Inject('TService') private service: ISerivce) {}
+ constructor(Inject(TService) private service: ISerivce) {}
59
60
run(): void {
61
this.service.serve();
0 commit comments