Browse Source

Set return type explicitely in not operator

iss58
Sam Verschueren 7 years ago
parent
commit
568eb70488
  1. 2
      source/lib/predicates/predicate.ts

2
source/lib/predicates/predicate.ts

@ -32,7 +32,7 @@ export abstract class Predicate<T = any> {
/** /**
* Invert the following validators. * Invert the following validators.
*/ */
get not() { get not(): this {
return not(this); return not(this);
} }

Loading…
Cancel
Save