safety commit before system upgrade
This commit is contained in:
@@ -24,7 +24,7 @@ import { Injector } from '../Injector/Injector';
|
||||
const logger = getLogger("admin", 'debug')
|
||||
|
||||
@RootComponent({
|
||||
rootInterface: IAdmin,
|
||||
implements: IAdmin,
|
||||
imports: [
|
||||
GuildManager,
|
||||
ItemManager,
|
||||
|
||||
@@ -9,7 +9,7 @@ import { FrontworkComponent } from "../Types/FrontworkComponent";
|
||||
export const Module = (ifc?: Type<any>) : GenericClassDecorator<Type<any>> => {
|
||||
return (target: Type<any>) => {
|
||||
Injector.modules.push({
|
||||
extends: ifc,
|
||||
implements: ifc,
|
||||
implementation: target
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user