Skip to content

Commit

Permalink
feat: export Reporter class, singleton and Formatter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Jul 8, 2019
1 parent 4569729 commit cbc99d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/morphism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Schema, StrictSchema, Constructable, SourceFromSchema, Mapper, Destinat
import { MorphismSchemaTree, createSchema, SchemaOptions } from './MorphismTree';
import { MorphismRegistry, IMorphismRegistry } from './MorphismRegistry';
import { decorator } from './MorphismDecorator';
import { Reporter, reporter, Formatter } from './validation/reporter';

/**
* Low Level transformer function.
Expand Down Expand Up @@ -216,5 +217,5 @@ morphismMixin.mappers = morphismRegistry.mappers;

const Morphism: typeof morphism & IMorphismRegistry = morphismMixin;

export { morphism, createSchema, Schema, StrictSchema, SchemaOptions, Mapper, SCHEMA_OPTIONS_SYMBOL };
export { morphism, createSchema, Schema, StrictSchema, SchemaOptions, Mapper, SCHEMA_OPTIONS_SYMBOL, Reporter, reporter, Formatter };
export default Morphism;

0 comments on commit cbc99d8

Please sign in to comment.