vtils

Home > react > CreateGlobalStateResultResult

CreateGlobalStateResultResult type

Signature:

export declare type CreateGlobalStateResultResult<S extends CreateGlobalStateState | undefined, R = never> = [R] extends [never] ? readonly [S, Dispatch<SetStateAction<S>>] : R;

References: CreateGlobalStateState