From 19d5305836405b5868f84c8a3d9810c394bcc8c1 Mon Sep 17 00:00:00 2001 From: Harris Miller Date: Tue, 2 May 2023 17:02:30 -0600 Subject: [PATCH] Fix: `pathEq` Argument order change for 0.29.0 release (#28) --- types/pathEq.d.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/types/pathEq.d.ts b/types/pathEq.d.ts index 7d5aec8..233c41a 100644 --- a/types/pathEq.d.ts +++ b/types/pathEq.d.ts @@ -1,6 +1,8 @@ -import * as _ from 'ts-toolbelt'; import { Path } from './util/tools'; -export function pathEq(path: Path, val: any, obj: any): boolean; -export function pathEq(path: Path, val: any): (obj: any) => boolean; -export function pathEq(path: Path): _.F.Curry<(a: any, b: any) => boolean>; +export function pathEq(val: any, path: Path, obj: any): boolean; +export function pathEq(val: any, path: Path): (obj: any) => boolean; +export function pathEq(val: any): { + (path: Path): (obj: any) => boolean; + (path: Path, obj: any): boolean; +};