Skip to content

Commit c93d82b

Browse files
fixed basic example for javascript
1 parent 8f3b89a commit c93d82b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/javascript/basic-example.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const TApplication = Symbol('IApplication');
55
const TService = Symbol('IService');
66

77
@Injectable([TService])
8-
export class Application implements IApplication {
8+
export class Application {
99
constructor(service) {
1010
this.service = service;
1111
}
@@ -16,7 +16,7 @@ export class Application implements IApplication {
1616
}
1717

1818
@Injectable()
19-
export class Service implements IService {
19+
export class Service {
2020
serve() {
2121
// serves
2222
}

0 commit comments

Comments
 (0)