Skip to content

Commit

Permalink
chore(query-core): define queryCache notify method's return type (#8191)
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Dorfmeister <[email protected]>
  • Loading branch information
haeunnam and TkDodo authored Oct 23, 2024
1 parent d3e2a8a commit 4fceb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/query-core/src/queryCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class QueryCache extends Subscribable<QueryCacheListener> {
: queries
}

notify(event: QueryCacheNotifyEvent) {
notify(event: QueryCacheNotifyEvent): void {
notifyManager.batch(() => {
this.listeners.forEach((listener) => {
listener(event)
Expand Down

0 comments on commit 4fceb26

Please sign in to comment.