function mock.returnsArgimport { mock } from "https://deno.land/x/hex@0.5.15/src/di/tests/deps.ts"; const { returnsArg } = mock; returnsArg<Arg, Self = any>(idx: number): (this: Self, ...args: Arg[]) => ArgCreates a function that returns one of its arguments. Type ParametersArgoptionalSelf = anyParametersidx: numberReturns(this: Self, ...args: Arg[]) => Arg