Skip to content

Commit

Permalink
chore: improve parameter naming of keys.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Dec 3, 2024
1 parent ecb5cb4 commit ec6bf50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/internal/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*
* @internal
*
* @param obj The object to get the keys of.
* @param object The object to get the keys of.
*/
export function keys<T extends object>(obj: T): Array<keyof T> {
return Object.keys(obj) as Array<keyof T>;
export function keys<T extends object>(object: T): Array<keyof T> {
return Object.keys(object) as Array<keyof T>;
}

0 comments on commit ec6bf50

Please sign in to comment.