---
id: noop
title: noop
---
## Overview
```ts
function noop(): void;
function noop(): undefined;
```
- [`void`](#call-signature-1): A function that does nothing.
- [`undefined`](#call-signature-2): A function that does nothing.
See also: [Returns](#returns-summary)
## Call Signature
```ts
function noop(): void;
```
Defined in: [packages/query-core/src/utils.ts:121](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L121)
A function that does nothing.
### Returns
`void`
## Call Signature
```ts
function noop(): undefined;
```
Defined in: [packages/query-core/src/utils.ts:122](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L122)
A function that does nothing.
### Returns
`undefined`
## Returns
`undefined`