Skip to content

Commit

Permalink
Try changing symbol declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Lucas committed Dec 23, 2024
1 parent 5be3872 commit bee0026
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/query-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ export type DefaultError = Register extends {

export type QueryKey = ReadonlyArray<unknown>

export declare const dataTagSymbol: unique symbol
export declare const dataTagErrorSymbol: unique symbol
export declare const unsetMarker: unique symbol
export const dataTagSymbol = Symbol('dataTagSymbol')
export type dataTagSymbol = typeof dataTagSymbol
export const dataTagErrorSymbol = Symbol('dataTagErrorSymbol')
export type dataTagErrorSymbol = typeof dataTagErrorSymbol
export const unsetMarker = Symbol('unsetMarker')
export type UnsetMarker = typeof unsetMarker
export type AnyDataTag = {
[dataTagSymbol]: any
Expand Down

0 comments on commit bee0026

Please sign in to comment.