mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
fix any in CharacterStats
This commit is contained in:
parent
88d9a76b04
commit
ae54092334
@ -113,7 +113,7 @@ interface IMoneyModalProps {
|
|||||||
function MoneyModal({ open, onClose }: IMoneyModalProps): React.ReactElement {
|
function MoneyModal({ open, onClose }: IMoneyModalProps): React.ReactElement {
|
||||||
const player = use.Player();
|
const player = use.Player();
|
||||||
function convertMoneySourceTrackerToString(src: MoneySourceTracker): React.ReactElement {
|
function convertMoneySourceTrackerToString(src: MoneySourceTracker): React.ReactElement {
|
||||||
const parts: any[][] = [[`Total:`, <Money money={src.total} />]];
|
const parts: [string, JSX.Element][] = [[`Total:`, <Money money={src.total} />]];
|
||||||
if (src.augmentations) {
|
if (src.augmentations) {
|
||||||
parts.push([`Augmentations:`, <Money money={src.augmentations} />]);
|
parts.push([`Augmentations:`, <Money money={src.augmentations} />]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user