Skip to content

Conversation

@mattheww-skyward
Copy link

As promised, here's the typescript port, a few months late!
Up to you if you want to accept the patch - IMO adding types is a way to bring errors to light and to synchronize across big codebases, but this code is very clean and there's not as much to gain. But, it does offer types to downstream users for free. Other than that, it turned up a couple of very minor bugs (functions called with an extra argument) and clarified the relationship between { x, y, w, h } objects representing grid positions and the same-shaped objects representing pixel positions.

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.

1 participant