Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
get returns any
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Aug 27, 2017
1 parent d70e5fe commit 24917b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { lensPath, view } from 'ramda';
export default function get(
path: Array<string | number>,
data: {} | Array<any>,
) {
): any {
let lens = lensPath(path);
return view(lens, data);
}

0 comments on commit 24917b9

Please sign in to comment.