StrengthFuncton wrong type for point argument, currently it's not number as specified, but {x:number, y:number}. I believe it should be smth like:
interface Point {
x: number;
y: number:
}
And also I guess StrengthFuncton should be StrengthFunction
export type StrengthFunction = (box: BoxType, point: Point) => number;