Browse Source

Make Predicate class abstract

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

2
source/lib/predicates/predicate.ts

@ -11,7 +11,7 @@ export interface Context {
export const validatorSymbol = Symbol('validators');
export class Predicate<T = any> {
export abstract class Predicate<T = any> {
constructor(
type: string,
private context: Context = { validators: [] }

Loading…
Cancel
Save