import { Dispatch, SetStateAction } from "react";

export type StateHook<T> = {
	state: T;
	setState: Dispatch<SetStateAction<T>>;
};
export type StateHookArray<T> = [
	T,Dispatch<SetStateAction<T>>
]