MatsDK / TauRPC

Typesafe IPC layer for Tauri applications
https://docs.rs/taurpc/
Apache License 2.0
59 stars 1 forks source link

Issue when the only arg is Vec<T> #14

Closed MatsDK closed 10 months ago

MatsDK commented 10 months ago

When a procedure only has 1 argument that is a Vector or Tuple, that type will be spread out in the params on the frontend(https://github.com/MatsDK/TauRPC/blob/main/src/index.ts#L22-L29)

image

image