# 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)

<a id="call-signature-1"></a>

## 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`

<a id="call-signature-2"></a>

## 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`

<a id="returns-summary"></a>

## Returns

`undefined`
