Skip to content

StrengthFuncton wrong type for point argument #18

@KirillZhdanov

Description

@KirillZhdanov

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions