fix any in SkillPage

This commit is contained in:
Olivier Gagnon 2022-07-18 03:04:58 -04:00
parent 40ad1a4758
commit 691770fa9b

@ -12,8 +12,8 @@ export function SkillPage(props: IProps): React.ReactElement {
const setRerender = useState(false)[1];
const mults = props.bladeburner.skillMultipliers;
function valid(mult: any): boolean {
return mult && mult !== 1;
function valid(mult: number | undefined): boolean {
return mult !== undefined && mult !== 1;
}
return (