From 568eb70488097c337da6a23a481943a03843a0cf Mon Sep 17 00:00:00 2001 From: Sam Verschueren Date: Tue, 28 Nov 2017 07:35:34 +0100 Subject: [PATCH] Set return type explicitely in not operator --- source/lib/predicates/predicate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/predicates/predicate.ts b/source/lib/predicates/predicate.ts index f520535..2aafcec 100644 --- a/source/lib/predicates/predicate.ts +++ b/source/lib/predicates/predicate.ts @@ -32,7 +32,7 @@ export abstract class Predicate { /** * Invert the following validators. */ - get not() { + get not(): this { return not(this); }