Skip to main content

noop

还没翻译译自英文(tanstack.com)本页 16 段都还没译

Overview

function noop(): void;
function noop(): undefined;
  • void: A function that does nothing.
  • undefined: A function that does nothing.

See also: Returns

Call Signature

function noop(): void;

Defined in: packages/query-core/src/utils.ts:121

A function that does nothing.

Returns

void

Call Signature

function noop(): undefined;

Defined in: packages/query-core/src/utils.ts:122

A function that does nothing.

Returns

undefined

Returns

undefined