Crate tauri_bindgen_ts
source · [−]Re-exports
Modules
Attribute Macros
Turns this function into a Tauri command and creates a test that generates a TypeScript binding to this function. To generate TypeScript bindings, run
cargo test
Important: In order for this macro to work, both ts_rs and serde need to be in scope. This can be achieved by importing the prelude: use tauri_bindgen_ts::prelude::*
Creates a test that generates a corresponding TypeScript interface for this struct. To generate TypeScript bindings, run
cargo test
Important: In order for this macro to work, both ts_rs and serde need to be in scope. This can be achieved by importing the prelude: use tauri_bindgen_ts::prelude::*