Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Jun 13, 2024
1 parent 04576aa commit 7143436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/object.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 7143436

Please sign in to comment.