Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

types.ts

12 lines253 Bytes

1import type { Query, DefaultError } from '@tanstack/react-query'
2​
3export interface DevToolsErrorType {
4 /**
5 * The name of the error.
6 */
7 name: string
8 /**
9 * How the error is initialized.
10 */
11 initializer: (query: Query) => DefaultError