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 signature of the emscripten module init function #55

Closed
wants to merge 1 commit into from

Conversation

jirihon
Copy link

@jirihon jirihon commented Jul 29, 2022

This fixes TypeScript problem described in issue #54.

The pach adds the missing argument to the init function. For simplicity, the type of the argument is set to any. Exact type could be imported from @types/emscripten. However, introducing new dependency is a serious thing, so I leave the decision to the maintainers of this awesome package.

@netlify
Copy link

netlify bot commented Jul 29, 2022

Deploy Preview for stupefied-edison-1dae54 canceled.

Name Link
🔨 Latest commit bed50d8
🔍 Latest deploy log https://app.netlify.com/sites/stupefied-edison-1dae54/deploys/62e38abbf386a00008e8aa87

@github-actions
Copy link
Contributor

github-actions bot commented Jul 29, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jirihon
Copy link
Author

jirihon commented Jul 29, 2022

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jul 29, 2022
@sgenoud
Copy link
Owner

sgenoud commented Jul 29, 2022

This function is generated automatically with opencascadejs - so your commit will be overridden the next time I generate them.

I should update the version I use to generate the bindings (and it should solve it).

@jirihon jirihon closed this Mar 8, 2024
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.

None yet

2 participants