Skip to content

Commit

Permalink
fix(core): export EnsureFunction and SimpleValidateFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed May 15, 2021
1 parent 59f9f1f commit bc72bd1
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions lib/index.ts
Expand Up @@ -5,8 +5,21 @@ export { ValidationError } from "./validation-error"

export * from './types'

import { ValidateFunction, compile, validate } from "./json-schema"
export { ValidateFunction, compile, validate }
import {
ValidateFunction,
EnsureFunction,
SimpleValidateFunction,
compile,
validate,
} from "./json-schema"

export {
ValidateFunction,
EnsureFunction,
SimpleValidateFunction,
compile,
validate,
}

export {
ExtractJsonSchemaOptions,
Expand Down

0 comments on commit bc72bd1

Please sign in to comment.