5740774a46
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
17 lines
489 B
TypeScript
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";
|
|
}
|
|
}
|