@resistdesign/voltra
    Preparing search index...

    Function getApplicationStateIdentifier

    Optional sub-state identifier map.

    The identifier map or an empty identifier object.

    • Create or forward an application-state identifier.

      Call with no argument to create a new identifier object and attach a value type at the type level: const profileId = getApplicationStateIdentifier<UserProfile>()

      Call with an existing identifier object to preserve that exact object reference while keeping its type information intact.

      Type Parameters

      • ValueType = unknown

      Returns ApplicationStateIdentifier<ValueType>

    • Create or forward an application-state identifier.

      Call with no argument to create a new identifier object and attach a value type at the type level: const profileId = getApplicationStateIdentifier<UserProfile>()

      Call with an existing identifier object to preserve that exact object reference while keeping its type information intact.

      Type Parameters

      • IdentifierType extends ApplicationStateIdentifier<any>

      Parameters

      Returns IdentifierType