Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Commit

Permalink
fix: Fix missing RequiredValidator on module export (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktutnik committed May 5, 2020
1 parent 406f474 commit aff8a12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
PartialValidator,
Validator,
validatorVisitor,
ValidatorDecorator
ValidatorDecorator,
RequiredValidator,
} from "./validation"
import { pipeline, Result, ResultMessages } from "./visitor"

Expand Down Expand Up @@ -82,5 +83,6 @@ export {
convert, Option, VisitorExtension,
VisitorInvocation, Result, ResultMessages,
partial, validatorVisitor, Validator,
PartialValidator, val, Opt, validate, createValidator, ValidatorDecorator
PartialValidator, val, Opt, validate, createValidator, ValidatorDecorator,
RequiredValidator
}

0 comments on commit aff8a12

Please sign in to comment.