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 'jecs.World.new()' being inferred to return 'any' #177

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

Mark-Marks
Copy link
Contributor

Brief Description of your Changes.

Fix jecs.World.new() to be typed as returning a World instead of any, via type casting the World class returned by jecs.

Impact of your Changes

Better typechecking.

Tests Performed

Additional Comments

@Ukendio Ukendio merged commit 0296c4b into Ukendio:main Jan 16, 2025
2 checks passed
@Ukendio
Copy link
Owner

Ukendio commented Jan 16, 2025

LGTM ty for the contribution

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