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

.d.ts file for --web target does not define the init() function #1390

Closed
surma opened this issue Mar 25, 2019 · 1 comment
Closed

.d.ts file for --web target does not define the init() function #1390

surma opened this issue Mar 25, 2019 · 1 comment
Labels
bug good first issue This is a good issue for people who have never contributed to wasm-bindgen before typescript

Comments

@surma
Copy link

surma commented Mar 25, 2019

Describe the Bug

Compiling a module with --web will create a .d.ts, which contains the TypeScript types for all the functions exposed by the module.

The typings for the init() function, the default export, are missing.

@surma surma added the bug Something isn't working label Mar 25, 2019
@alexcrichton alexcrichton added good first issue This is a good issue for people who have never contributed to wasm-bindgen before typescript bug and removed bug Something isn't working labels Mar 25, 2019
@c410-f3r
Copy link
Contributor

I will work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue This is a good issue for people who have never contributed to wasm-bindgen before typescript
Projects
None yet
Development

No branches or pull requests

3 participants