diff --git a/src/object.ts b/src/object.ts index 20a4662..ea56e1a 100644 --- a/src/object.ts +++ b/src/object.ts @@ -2,7 +2,7 @@ import type { RecordObject } from './types'; /** * Remove specific keys from object - * @param obj Object from which to remove keys + * @param objOrArray Object from which to remove keys * @param keys to remove from object * @returns Object with keys removed */ diff --git a/tests/object.test.ts b/tests/object.test.ts index 414131e..b92159d 100644 --- a/tests/object.test.ts +++ b/tests/object.test.ts @@ -13,7 +13,7 @@ describe('omit', () => { const obj = { a: 1, b: 2, c: 3 }; expect(omit(obj, 'a', 'c')).toEqual({ b: 2 }); }); - it("should remove keys from array of objects", () => { + it('should remove keys from array of objects', () => { const obj = [ { a: 1, b: 2, c: 3 }, { a: 4, b: 5, c: 6 },