omit
import { omit } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/record.ts";Omit specified keys from a record. Value-space implementation of the
Omit
utility type.
@example
import { omit } from "./record.ts";
omit("a", "c")({ a: 1, b: 2 }) // { b: 2 }
function omit<T, K extends string[]>(...keys: K): (record: T) => Omit<T, K[number]>;