Skip to content

Commit 0b79d2b

Browse files
committed
Changed solution
1 parent 095c37e commit 0b79d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/06-challenges/29.5-pick.solution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Equal, Expect } from "../helpers/type-utils";
33

44
const pick = <TObj, TPicked extends keyof TObj>(
55
obj: TObj,
6-
picked: TPicked[]
6+
picked: Array<TPicked>
77
) => {
88
return picked.reduce((acc, key) => {
99
acc[key] = obj[key];

0 commit comments

Comments
 (0)