/** * Converts a function type returning a `Promise` to a function type returning `void`. */ export type NoAwait Promise> = (...args: Parameters) => void; /** * Signals that the argument returns a `Promise` that is intentionally not being awaited. */ export function noAwait Promise>(f: F): NoAwait { return f as NoAwait; }