Return correct type instead of any[]
This commit is contained in:
parent
7a16c7e998
commit
5ecf16f78c
@ -558,14 +558,14 @@ class ItemHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Regenerate all guids with new ids, exceptions are for items that cannot be altered (e.g. stash/sorting table)
|
||||||
* @param pmcData
|
* @param pmcData Player profile
|
||||||
* @param items
|
* @param items Items to adjust ID values of
|
||||||
* @param insuredItems insured items to not replace ids for
|
* @param insuredItems insured items to not replace ids for
|
||||||
* @param fastPanel
|
* @param fastPanel
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
public replaceIDs(pmcData: IPmcData, items: Item[], insuredItems: InsuredItem[] = null, fastPanel = null): any[]
|
public replaceIDs(pmcData: IPmcData, items: Item[], insuredItems: InsuredItem[] = null, fastPanel = null): Item[]
|
||||||
{
|
{
|
||||||
// replace bsg shit long ID with proper one
|
// replace bsg shit long ID with proper one
|
||||||
let serialisedInventory = this.jsonUtil.serialize(items);
|
let serialisedInventory = this.jsonUtil.serialize(items);
|
||||||
|
Loading…
Reference in New Issue
Block a user