@tanstack/query-core
Advanced tools
Comparing version 5.51.21 to 5.51.24
@@ -1,3 +0,2 @@ | ||
type Listener = () => void; | ||
declare class Subscribable<TListener extends Function = Listener> { | ||
declare class Subscribable<TListener extends Function> { | ||
protected listeners: Set<TListener>; | ||
@@ -4,0 +3,0 @@ constructor(); |
@@ -1,3 +0,2 @@ | ||
type Listener = () => void; | ||
declare class Subscribable<TListener extends Function = Listener> { | ||
declare class Subscribable<TListener extends Function> { | ||
protected listeners: Set<TListener>; | ||
@@ -4,0 +3,0 @@ constructor(); |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.51.21", | ||
"version": "5.51.24", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -30,3 +30,3 @@ import { describe, expectTypeOf, it } from 'vitest' | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -40,3 +40,3 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
@@ -51,3 +51,3 @@ // 2. safely | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -60,3 +60,3 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
}) | ||
@@ -89,3 +89,3 @@ | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -99,3 +99,3 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
@@ -110,3 +110,3 @@ // 2. safely | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -119,3 +119,3 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
}) | ||
@@ -154,3 +154,3 @@ | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -164,3 +164,3 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
@@ -175,3 +175,3 @@ // 2. safely | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
expectTypeOf< | ||
@@ -184,4 +184,4 @@ OmitKeyof< | ||
> | ||
>().toEqualTypeOf<ExpectedType> | ||
>().toEqualTypeOf<ExpectedType>() | ||
}) | ||
}) |
@@ -1,8 +0,5 @@ | ||
type Listener = () => void | ||
export class Subscribable<TListener extends Function> { | ||
protected listeners = new Set<TListener>() | ||
export class Subscribable<TListener extends Function = Listener> { | ||
protected listeners: Set<TListener> | ||
constructor() { | ||
this.listeners = new Set() | ||
this.subscribe = this.subscribe.bind(this) | ||
@@ -9,0 +6,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2019540
28711