mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
fix any in SkillPage
This commit is contained in:
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 (
|
||||
|
Loading…
Reference in New Issue
Block a user