This avoids typescript errors when casting certain arbitrary objects to the QueryParameters type. I was specifically having trouble with this one:
{
example: string;
name: string;
types: {
name: string;
value: string;
}[];
value: string;
}[]