Skip to content

tauri-plugin-store: typescript mismatch for attribute autoSaveΒ #1865

@binarybaron

Description

@binarybaron

The autoSave has the wrong type in the typescript definitions.

export type StoreOptions = {
    /**
     * Auto save on modification with debounce duration in milliseconds
     */
    autoSave?: boolean;
};

autoSave should be of type number, not boolean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions