We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d81b9 commit 1e73d3aCopy full SHA for 1e73d3a
packages/query-core/src/types.ts
@@ -42,9 +42,11 @@ export type DefaultError = Register extends {
42
43
export type QueryKey = ReadonlyArray<unknown>
44
45
-export declare const dataTagSymbol: unique symbol
46
-export declare const dataTagErrorSymbol: unique symbol
47
-export declare const unsetMarker: unique symbol
+export const dataTagSymbol = Symbol('dataTagSymbol')
+export type dataTagSymbol = typeof dataTagSymbol
+export const dataTagErrorSymbol = Symbol('dataTagErrorSymbol')
48
+export type dataTagErrorSymbol = typeof dataTagErrorSymbol
49
+export const unsetMarker = Symbol('unsetMarker')
50
export type UnsetMarker = typeof unsetMarker
51
export type AnyDataTag = {
52
[dataTagSymbol]: any
0 commit comments