Crate tauri_bindgen_ts

Source

Re-exports§

pub use ts_rs;
pub use serde;

Modules§

prelude

Attribute Macros§

command
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::*
entity
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::*