omit-ts
v2.0.1
Published
Absolutely teeny tiny (less than 50 Bytes) Typescript omit
Downloads
111
Readme
omit-ts
Absolutely teeny tiny TypeScript omit function based on this answer from anurbol.
Usage
import { omit } from "omit-ts";
const source = {
foo: "foo",
bar: "bar",
};
const only_foo = omit(source, ["bar"]);