Closed Zercerium closed 4 months ago
Hi, thanks for specta.
There is a missing Ok(()) in this position https://github.com/oscartbeaumont/tauri-specta/blob/main/docs/v2.md#events
Ok(())
https://github.com/oscartbeaumont/tauri-specta/blob/1ad0a71a70239ed506c628bc2b808994285a8d94/docs/v2.md?plain=1#L112-L114
tauri::Builder::default() .invoke_handler(invoke_handler) .setup(|app| { register_events(app); + Ok(()) }) .run(tauri::generate_context!()) .expect("error while running tauri application"); }
Thanks!
Hi, thanks for specta.
There is a missing
Ok(())
in this position https://github.com/oscartbeaumont/tauri-specta/blob/main/docs/v2.md#eventshttps://github.com/oscartbeaumont/tauri-specta/blob/1ad0a71a70239ed506c628bc2b808994285a8d94/docs/v2.md?plain=1#L112-L114