@pinia/root / pinia / setMapStoreSuffix
setMapStoreSuffix()
ts
function setMapStoreSuffix(suffix): void
Changes the suffix added by mapStores()
. Can be set to an empty string. Defaults to "Store"
. Make sure to extend the MapStoresCustomization interface if you are using TypeScript.
Parameters
• suffix: string
new suffix
Returns
void