import type { AnyFunction } from "./anyFunction"; /** * @remarks allows you to bypass the `strictFunctionTypes` rule. * @link https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-function-parameters-bivariant * @link https://www.typescriptlang.org/tsconfig/#strictFunctionTypes */ export type BivariantFunction = { bivariantFunction(...args: Parameters): ReturnType; }["bivariantFunction"];