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); }