Open History to see the last commit
1---
2id: noop
3title: noop
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8## Overview
9β
10```ts
11function noop(): void;
12function noop(): undefined;
13```
14β
15- [`void`](#call-signature-1): A function that does nothing.
16- [`undefined`](#call-signature-2): A function that does nothing.
17β
18See also: [Returns](#returns-summary)
19β
20<a id="call-signature-1"></a>
21β
22## Call Signature
23β
24```ts
25function noop(): void;
26```
27β
28Defined in: [packages/query-core/src/utils.ts:121](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L121)
29β
30A function that does nothing.
31β
32### Returns
33β
34`void`
35β
36<a id="call-signature-2"></a>
37β
38## Call Signature
39β
40```ts
41function noop(): undefined;
42```
43β
44Defined in: [packages/query-core/src/utils.ts:122](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L122)
45β
46A function that does nothing.
47β
48### Returns
49β
50`undefined`
51β
52<a id="returns-summary"></a>
53β
54## Returns
55β
56`undefined`