Server/project/src/callbacks/HandbookCallbacks.ts
Refringe 5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00

17 lines
489 B
TypeScript

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