import { inject, injectable } from "tsyringe"; import { HandbookController } from "@spt-aki/controllers/HandbookController"; import { OnLoad } from "@spt-aki/di/OnLoad"; @injectable() export class HandbookCallbacks implements OnLoad { constructor( @inject("HandbookController") protected handbookController: HandbookController ) { } public async onLoad(): Promise { this.handbookController.load(); } public getRoute(): string { return "aki-handbook"; } }