Skip to content

Commit 1c77179

Browse files
updated README
1 parent 218555a commit 1c77179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import { Injectable, Inject } from 'container-ioc';
5555

5656
@Injectable()
5757
export class Application implements IApplication {
58-
constructor(Inject('TService') private service: ISerivce) {}
58+
constructor(Inject(TService) private service: ISerivce) {}
5959

6060
run(): void {
6161
this.service.serve();

0 commit comments

Comments
 (0)