Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

noop.md

56 lines951 Bytes

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`