ramda: fix prop function definition (#20099)

This commit is contained in:
Honza Břečka
2017-10-02 19:39:01 +02:00
committed by Ryan Cavanaugh
parent 33a325efc8
commit 49f1f3aeeb

View File

@@ -1438,7 +1438,7 @@ declare namespace R {
* Note: TS1.9 # replace any by dictionary
*/
prop<T>(p: string, obj: any): T;
prop<T>(p: string): <T>(obj: any) => T;
prop<T>(p: string): (obj: any) => T;
/**
* Determines whether the given property of an object has a specific