Skip to content

Commit

Permalink
fix: export context
Browse files Browse the repository at this point in the history
Solved the `Exported variable 'xxx' has or is using name 'Context' from external module "./node_modules/daf-selective-disclosure/build/graphql" but cannot be named.` error when using the resolver.
  • Loading branch information
roderik committed May 31, 2020
1 parent 48ad051 commit f6265f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/daf-selective-disclosure/src/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ActionTypes, ActionSignSdr, SelectiveDisclosureRequest } from './action
import { findCredentialsForSdr, validatePresentationAgainstSdr } from './helper'
import { MessageTypes } from './message-handler'

interface Context {
export interface Context {
agent: Agent
}

Expand Down

0 comments on commit f6265f9

Please sign in to comment.