Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lints and typechecking errors #207

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

adroitwhiz
Copy link
Collaborator

Most of these seem to be from the "if on edge, bounce" PR.

In the future, we should consider setting up some CI for pull requests that lints and typechecks them automatically.

Copy link
Member

@towerofnix towerofnix left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good except for the one question, and we opened #208 to follow this up with CI.


protected _costumeNumber: number;
protected _layerOrder: number;
public _layerOrder: number;
Copy link
Member

Choose a reason for hiding this comment

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

Is there any way we could avoid making this underscore-public? I guess you just added a similar TODO above for _project, but it sounds like we should also avoid it for _layerOrder.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've added a TODO for removing _layerOrder entirely--we should just store sprites in-order as Scratch does.

Copy link
Member

Choose a reason for hiding this comment

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

Can we file that as an issue too LOL. Otherwise, again, awesome. Thanks!

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.

2 participants