POLAR reference
    Preparing search index...

    Function getStore

    • Returns the store module for the core or for an active plugin.

      Type Parameters

      • T extends StoreId

      Parameters

      • map: any

        Map to get the corresponding store for.

      • storeName: T

        Either 'core' for the core store or the plugin ID for a plugin's store.

      Returns T extends "core" | BundledPluginId ? StoreType<T<T>> : PolarPluginStore

      Core store for the map if 'core' is given, or the plugin's store else.