No overload matches this call.
Overload 1 of 2, '(filters?: InvalidateQueryFilters<unknown> | undefined, options?: InvalidateOptions | undefined): Promise<void>', gave the following error.
Type '"rates"' has no properties in common with type 'InvalidateQueryFilters<unknown>'.
Overload 2 of 2, '(queryKey?: QueryKey | undefined, filters?: InvalidateQueryFilters<unknown> | undefined, options?: InvalidateOptions | undefined): Promise<void>', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'readonly unknown[]'.ts(2769)
No overload matches this call.
Overload 1 of 2, '(filters?: InvalidateQueryFilters<unknown> | undefined, options?: InvalidateOptions | undefined): Promise<void>', gave the following error.
Type '"rates"' has no properties in common with type 'InvalidateQueryFilters<unknown>'.
Overload 2 of 2, '(queryKey?: QueryKey | undefined, filters?: InvalidateQueryFilters<unknown> | undefined, options?: InvalidateOptions | undefined): Promise<void>', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'readonly unknown[]'.ts(2769)