From fe2983d2df78ca45aeaa115c182f3c8c18683ae5 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 26 Dec 2024 23:38:20 +0000 Subject: [PATCH] Removed various unneeded 'types' --- project/src/generators/BotLootGenerator.ts | 2 +- .../weapongen/implementations/ExternalInventoryMagGen.ts | 2 +- project/src/helpers/BotWeaponGeneratorHelper.ts | 2 +- project/src/services/BotLootCacheService.ts | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/project/src/generators/BotLootGenerator.ts b/project/src/generators/BotLootGenerator.ts index f38b33f6..133d57f7 100644 --- a/project/src/generators/BotLootGenerator.ts +++ b/project/src/generators/BotLootGenerator.ts @@ -12,7 +12,7 @@ import type { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem" import { BaseClasses } from "@spt/models/enums/BaseClasses"; import { ConfigTypes } from "@spt/models/enums/ConfigTypes"; import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; -import type { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; import { LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; import type { IItemSpawnLimitSettings } from "@spt/models/spt/bots/IItemSpawnLimitSettings"; import type { IBotConfig } from "@spt/models/spt/config/IBotConfig"; diff --git a/project/src/generators/weapongen/implementations/ExternalInventoryMagGen.ts b/project/src/generators/weapongen/implementations/ExternalInventoryMagGen.ts index ca507045..a1361241 100644 --- a/project/src/generators/weapongen/implementations/ExternalInventoryMagGen.ts +++ b/project/src/generators/weapongen/implementations/ExternalInventoryMagGen.ts @@ -1,5 +1,5 @@ import type { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen"; -import type { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; +import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen"; import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper"; import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper"; import type { ItemHelper } from "@spt/helpers/ItemHelper"; diff --git a/project/src/helpers/BotWeaponGeneratorHelper.ts b/project/src/helpers/BotWeaponGeneratorHelper.ts index 5a1e5ec6..e7f51655 100644 --- a/project/src/helpers/BotWeaponGeneratorHelper.ts +++ b/project/src/helpers/BotWeaponGeneratorHelper.ts @@ -7,7 +7,7 @@ import type { IItem } from "@spt/models/eft/common/tables/IItem"; import type { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; import { BaseClasses } from "@spt/models/enums/BaseClasses"; import { EquipmentSlots } from "@spt/models/enums/EquipmentSlots"; -import type { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; +import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult"; import type { ILogger } from "@spt/models/spt/utils/ILogger"; import { DatabaseServer } from "@spt/servers/DatabaseServer"; import { LocalisationService } from "@spt/services/LocalisationService"; diff --git a/project/src/services/BotLootCacheService.ts b/project/src/services/BotLootCacheService.ts index 19a3ce8a..d20c48de 100644 --- a/project/src/services/BotLootCacheService.ts +++ b/project/src/services/BotLootCacheService.ts @@ -1,9 +1,10 @@ import { PMCLootGenerator } from "@spt/generators/PMCLootGenerator"; -import type { ItemHelper } from "@spt/helpers/ItemHelper"; +import { ItemHelper } from "@spt/helpers/ItemHelper"; import type { IBotType } from "@spt/models/eft/common/tables/IBotType"; import type { IProps, ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem"; import { BaseClasses } from "@spt/models/enums/BaseClasses"; -import type { IBotLootCache, LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import { LootCacheType } from "@spt/models/spt/bots/IBotLootCache"; +import type { IBotLootCache } from "@spt/models/spt/bots/IBotLootCache"; import type { ILogger } from "@spt/models/spt/utils/ILogger"; import { DatabaseServer } from "@spt/servers/DatabaseServer"; import { LocalisationService } from "@spt/services/LocalisationService";