Skip to content

Commit b22a1a2

Browse files
refactor(obj): rename to objectValues
1 parent f30c39d commit b22a1a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/obj/getObjectValues.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/obj/objectValues.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export function objectValues<T extends Record<string, any>>(obj: T) {
2+
return Object.values(obj) as [(typeof obj)[keyof T]]
3+
}

0 commit comments

Comments
 (0)