From 83c42657443c2ff5c9eecc85bf3c978ead097f4c Mon Sep 17 00:00:00 2001 From: Steve Kellock Date: Fri, 20 Oct 2017 19:42:02 -0400 Subject: [PATCH] Fixes search callback for lists blessed. --- types/blessed/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/blessed/index.d.ts b/types/blessed/index.d.ts index 553942af2f..bd3a5aca7b 100644 --- a/types/blessed/index.d.ts +++ b/types/blessed/index.d.ts @@ -1691,7 +1691,7 @@ declare namespace Blessed { * callback function which should be called with the search string. The search string is then used to * jump to an item that is found in items. */ - search?: () => void; + search?: (err: any, value?: string) => void; /** * Whether the list is interactive and can have items selected (Default: true). */