fix any in CharacterStats

This commit is contained in:
Olivier Gagnon 2022-07-18 02:47:11 -04:00
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} />]);
} }