Type alias ShareLocator<T>

ShareLocator<T>: ShareLocator.Spec<T> | CustomWithFallback<T> | null | undefined

Shared value locator.

Can be one of:

  • shared value locator specified Spec,
  • custom shared value locator, or
  • null/undefined to locate a fallback share.

A shareLocator function can be used to convert arbitrary locator to a function.

Type Parameters

  • T

    Shared value type.

Generated using TypeDoc