export function noop() { /* noop */ } export async function asyncNoop() { /* noop */ } export function constNoop(value: T): () => T { return () => value } export function asyncConstNoop(value: T): () => Promise { return async () => value } export type Noop = typeof noop