0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

fixed lint/complexity/noUselessConstructor

This commit is contained in:
TheSparta 2023-10-31 16:23:39 +00:00
parent 0308ae4bf7
commit 40a9ed4102
5 changed files with 0 additions and 28 deletions

View File

@ -79,10 +79,6 @@ export class DynamicRouter extends Router
// So instead I added the definition
export class ItemEventRouterDefinition extends Router
{
constructor()
{
super();
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse
{
@ -92,10 +88,6 @@ export class ItemEventRouterDefinition extends Router
export class SaveLoadRouter extends Router
{
constructor()
{
super();
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public handleLoad(profile: IAkiProfile): IAkiProfile
{

View File

@ -6,11 +6,6 @@ import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile";
@injectable()
export class HealthSaveLoadRouter extends SaveLoadRouter
{
constructor()
{
super();
}
public override getHandledRoutes(): HandledRoute[]
{
return [

View File

@ -6,11 +6,6 @@ import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile";
@injectable()
export class InraidSaveLoadRouter extends SaveLoadRouter
{
constructor()
{
super();
}
public override getHandledRoutes(): HandledRoute[]
{
return [

View File

@ -6,11 +6,6 @@ import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile";
@injectable()
export class InsuranceSaveLoadRouter extends SaveLoadRouter
{
constructor()
{
super();
}
public override getHandledRoutes(): HandledRoute[]
{
return [

View File

@ -7,11 +7,6 @@ import { IAkiProfile } from "@spt-aki/models/eft/profile/IAkiProfile";
@injectable()
export class ProfileSaveLoadRouter extends SaveLoadRouter
{
constructor()
{
super();
}
public override getHandledRoutes(): HandledRoute[]
{
return [