Skip to content

Commit 4fceb26

Browse files
nmhenTkDodo
andauthored
chore(query-core): define queryCache notify method's return type (#8191)
Co-authored-by: Dominik Dorfmeister <[email protected]>
1 parent d3e2a8a commit 4fceb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/query-core/src/queryCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export class QueryCache extends Subscribable<QueryCacheListener> {
197197
: queries
198198
}
199199

200-
notify(event: QueryCacheNotifyEvent) {
200+
notify(event: QueryCacheNotifyEvent): void {
201201
notifyManager.batch(() => {
202202
this.listeners.forEach((listener) => {
203203
listener(event)

0 commit comments

Comments
 (0)