buster/web/src/api/index.d.ts

8 lines
161 B
TypeScript

import type { RustApiError } from './buster_rest/errors';
declare module '@tanstack/react-query' {
interface Register {
defaultError: RustApiError;
}
}