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 typescript regression #13

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix typescript regression #13

merged 1 commit into from
Jan 14, 2025

Conversation

mikuso
Copy link
Contributor

@mikuso mikuso commented Jan 10, 2025

Prior to merging in #9, typescript would automatically detect that the types for the entrypoint src/main-prod.js were found in the corresponding type declaration file types/main-prod.d.ts.

Since the entrypoint has changed to dist/PhaserBox2D.js, the type declaration entrypoint must also be explicitly set (- otherwise typescript can't find the correct matching declaration file).

This PR fixes this issue. Cheers.

@photonstorm photonstorm merged commit 61ab3b7 into phaserjs:main Jan 14, 2025
@photonstorm
Copy link
Contributor

👍

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