13 lines
327 B
TypeScript
13 lines
327 B
TypeScript
|
|
//#region src/compat/function/noop.d.ts
|
||
|
|
/**
|
||
|
|
* A no-operation function that does nothing.
|
||
|
|
* This can be used as a placeholder or default function.
|
||
|
|
*
|
||
|
|
* @example
|
||
|
|
* noop(); // Does nothing
|
||
|
|
*
|
||
|
|
* @returns {void} This function does not return anything.
|
||
|
|
*/
|
||
|
|
declare function noop(..._: any[]): void;
|
||
|
|
//#endregion
|
||
|
|
export { noop };
|