fix: autoSave Inconsistency

The Tauri Store plugin has a type mismatch for the autoSave option. 
In TypeScript, it's documented as a boolean, but the Rust backend expects a u64. Setting autoSave to true or false in createStore causes an error:

`
Unhandled Promise Rejection: invalid args `autoSave` for command `create_store`: invalid type: boolean `true`, expected u64
`
pull/1924/head
HylaruCoder 10 months ago committed by GitHub
parent 7e1c17a635
commit 1d1bade436
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -19,7 +19,7 @@ export type StoreOptions = {
/**
* Auto save on modification with debounce duration in milliseconds
*/
autoSave?: boolean
autoSave?: number
}
/**

Loading…
Cancel
Save