Skip to content

API DocumentationDocs


API Documentation / pinia / setMapStoreSuffix

Function: setMapStoreSuffix()

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

Released under the MIT License.