Generate typings for types using ducktor
DusterTheFirst opened this issue · comments
Zachary Kohnen commented
One of the important pieces that wasm-bindgen provides is the generated typescript declaration file that describes the public API of the generated bindings. If I understand correctly,when using ducktor in a public facing API, the types will just show up as JsValues and all type information will be lost. So even though you can pass any object with the same fields, you would not get typechecking for those objects.
Elina commented