Sanity App SDK
    Preparing search index...

    Type Alias Selector<TState, TParams, TReturn>

    Selector: (context: SelectorContext<TState>, ...params: TParams) => TReturn

    Function type for selecting derived state from store state and parameters

    Type Parameters

    • TState
    • TParams extends unknown[]
    • TReturn

    Type declaration