Hey Bytecode Alliance! We're working on a project using wasmtime-dotnet to create a scripting environment for our application. We plan to support AssemblyScript and Python, and we were generating glue code, but we couldn't find any reliable documentation on how we can provide typings for our scripting environment considering in AS, when we try to compile it, it does not do the correct module import when viewed as a WAT, is there a way to generate typings for our glue APIs?
basically, we're exposing some of our methods and objects into wasmtime-dotnet: https://github.com/LeNitrous/sbtw/tree/master/sbtw.Common/Scripting
then we try to provide typings for them manually for our respective language let's say something like typescript:
declare module 'storybrew' {
}
However, when I tried it out on wasm.studio, the definitions weren't declaring the imports properly
Heya, any updates?
Last updated: Nov 22 2024 at 17:03 UTC