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

No .d.ts files generated for .as files #334

Open
jerrygreen opened this issue Mar 1, 2021 · 0 comments
Open

No .d.ts files generated for .as files #334

jerrygreen opened this issue Mar 1, 2021 · 0 comments

Comments

@jerrygreen
Copy link

jerrygreen commented Mar 1, 2021

Here's the issue:

image

Though in my another project sample I am able to import .wasm file and get those type declarations:

image

It is generated by asc compiler from AssemblyScript with --tsdFile argument:

 --tsdFile, -d         Specifies the TypeScript definition output file (.d.ts).

Though honestly this option works a little weird right now, and types are wrongly generated a bit, but it's in progress of being fixed here: AssemblyScript/assemblyscript#1704 (so what you can see on the screenshot will be working as intended, exactly as seen on the screenshot)

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

No branches or pull requests

1 participant