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:
parent
0308ae4bf7
commit
40a9ed4102
@ -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
|
||||
{
|
||||
|
@ -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 [
|
||||
|
@ -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 [
|
||||
|
@ -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 [
|
||||
|
@ -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 [
|
||||
|
Loading…
x
Reference in New Issue
Block a user