vtils

Home > react > CreateGlobalStateCustomResult

CreateGlobalStateCustomResult type

Signature:

export declare type CreateGlobalStateCustomResult<S extends CreateGlobalStateState | undefined, R = never> = (payload: {
    state: CreateGlobalStateResultResult<S, never>[0];
    setState: CreateGlobalStateResultResult<S, never>[1];
}) => R;

References: CreateGlobalStateState, CreateGlobalStateResultResult