Skip to content

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

@jerrygreen

Description

@jerrygreen

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions