Utility type providing the argument type for the given method name or {} if the method does not take any parameters
[M in keyof ApiMethods<F>]: Params<F, M>[0] extends undefined ? { } : NonNullable<Params<F, M>[0]>
Utility type providing the argument type for the given method name or {} if the method does not take any parameters
[M in keyof ApiMethods<F>]: Params<F, M>[0] extends undefined ? { } : NonNullable<Params<F, M>[0]>
import { type Opts } from "types/interface.ts";