Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pghalliday committed Feb 21, 2021
1 parent e331c8c commit d15e085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ async function getResolvedReferences(): Promise<{
const resolvedReferences = References.initResolvedReferences();
const validator = new Validator();
const resolver = new Resolver();
// pipe the validated structures into the resolver
validator.success.on(data => resolver.add(data));
validator.failure.on(({reference, key, error}) => {
// store error for later
Expand Down

0 comments on commit d15e085

Please sign in to comment.