Skip to content

Commit

Permalink
feat: fix issue 93
Browse files Browse the repository at this point in the history
  • Loading branch information
Deyan Totev committed Jul 20, 2023
1 parent 9964790 commit 957554f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
1 change: 1 addition & 0 deletions NEXT_VERSION_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fix https://github.com/selfrefactor/rambdax/issues/93
---
- binary
- call
Expand Down
15 changes: 4 additions & 11 deletions files/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3281,17 +3281,10 @@ Notes:
*/
// @SINGLE_MARKER
export function prop<P extends keyof never, T>(propToFind: P, value: T): Prop<T, P>;
export function prop<P extends keyof never>(propToFind: P): {
<T>(value: Record<P, T>): T;
<T>(value: T): Prop<T, P>;
};
export function prop<P extends keyof T, T>(propToFind: P): {
(value: T): Prop<T, P>;
};
export function prop<P extends keyof never, T>(propToFind: P): {
(value: Record<P, T>): T;
};
export function prop<_, P extends keyof never, T>(p: P, value: T): Prop<T, P>;
export function prop<V>(p: keyof never, value: unknown): V;
export function prop<_, P extends keyof never>(p: P): <T>(value: T) => Prop<T, P>;
export function prop<V>(p: keyof never): (value: unknown) => V;

/*
Method: propEq
Expand Down

0 comments on commit 957554f

Please sign in to comment.