variable _mapimport { _map } from "https://deno.land/x/hkts@v0.0.52/record.ts"; Optimizations type<A, B, KS extends string>(fab: (a: A, i: string) => B, as: [K in KS]: A) => [K in KS]: B