mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
ramda: fix prop function definition (#20099)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
33a325efc8
commit
49f1f3aeeb
2
types/ramda/index.d.ts
vendored
2
types/ramda/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user