I'm curious could I make this generic optional somehow?
export type RequestType<T> = {
readonly type: string;
readonly value: string | T;
};
Because when I try to set object' type to RequestType it returns an error, that generic type requires 1 type argument.