Skip to content

Conversation

formatlos
Copy link
Contributor

I refined the type definition of the applyToPoint to narrow down the return type to the actually passed Point-type

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 88b79e4 on formatlos:refine-types into 6f900b6 on chrvadala:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 88b79e4 on formatlos:refine-types into 6f900b6 on chrvadala:master.

Copy link

@hijackit hijackit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completely agree with the proposed change. It would simplify a lot the code, avoiding to perform type-checking every time we need to access the coordinates of a point

@chrvadala
Copy link
Owner

Released with version 2.3.0. Thanks for your contribution. I added your name in contributors list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants