Skip to content

Commit

Permalink
docs(vue): global key jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Sep 1, 2024
1 parent bb28430 commit c7fd2db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export type PluginOptions = Pick<
PersistenceOptions,
'storage' | 'debug' | 'serializer'
> & {
key?: (k: string) => string
/**
* Global key generator, allow pre/postfixing store keys.
*/
key?: (storeKey: string) => string
}

/**
Expand Down

0 comments on commit c7fd2db

Please sign in to comment.