From 45f22ec21e3b253c3264e2f28c8bf33a36a104bb Mon Sep 17 00:00:00 2001 From: David Philipson Date: Thu, 22 Jun 2017 18:05:21 -0700 Subject: [PATCH] Improve complement definition --- types/transducers-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/transducers-js/index.d.ts b/types/transducers-js/index.d.ts index 83dbbe1573..96fce6f671 100644 --- a/types/transducers-js/index.d.ts +++ b/types/transducers-js/index.d.ts @@ -47,7 +47,7 @@ export function comp(...args: Array<(x: any) => any>): (x: any) => any; /** * Take a predicate function and return its complement. */ -export function complement(f: Function): Function; +export function complement(f: (x: T) => boolean): (x: T) => boolean; /** * Identity function.