David Smitmanis
David Smitmanis
This is dependent on the rust version! Something has happened between Rust 1.81 and 1.82 that triggers this behavior. Using the code from the original post, I can reproduce it...
It is an issue because the type signature in the generated .d.ts bindings is invalid! `Array` needs a generic parameter. I.e. Typescript applications that load these definition files won't compile....
Chiming in to say that this would be a nice feature to have, and it would be good for the ambition to make `http` crate into _the_ generic building block...