DefinitelyTyped/types/object.omit/object.omit-tests.ts
2019-04-14 11:39:08 +01:00

5 lines
106 B
TypeScript

import omit = require('object.omit');
const a = {a: 'a', b: 'b', c: 'c'};
const b = omit(a, ['a', 'c']);