Browse Source

safety commit before system upgrade

master
peter 5 years ago
parent
commit
afbf1cc001
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/backend/Admin/Admin.ts
  2. 1
    1
      src/backend/Injector/ServiceDecorator.ts

+ 1
- 1
src/backend/Admin/Admin.ts View File

24
 const logger = getLogger("admin", 'debug') 
24
 const logger = getLogger("admin", 'debug') 
25
 
25
 
26
 @RootComponent({
26
 @RootComponent({
27
-    rootInterface: IAdmin,
27
+    implements: IAdmin,
28
     imports: [
28
     imports: [
29
         GuildManager,
29
         GuildManager,
30
         ItemManager,
30
         ItemManager,

+ 1
- 1
src/backend/Injector/ServiceDecorator.ts View File

9
 export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => {
9
 export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => {
10
   return (target: Type<any>) => {
10
   return (target: Type<any>) => {
11
     Injector.modules.push({
11
     Injector.modules.push({
12
-      extends: ifc,
12
+      implements: ifc,
13
       implementation: target
13
       implementation: target
14
     })
14
     })
15
   }
15
   }

Loading…
Cancel
Save