type alias MapFunctionimport { type MapFunction } from "https://deno.land/x/caviar@2.1.5/deno_gl/mod.ts"; Type ParametersT extends Deno.ForeignFunctiondefinition: (...args: MapParameters<T[any]>) => T["nonblocking"] extends true ? Promise<MapType<T["result"]>> : MapType<T["result"]>