Skip to content

Commit

Permalink
chore(docs): readme update -- fix code sample to include ".ts" in mod…
Browse files Browse the repository at this point in the history
…ule path (#998)
  • Loading branch information
ellanan authored Oct 27, 2021
1 parent 2934d6d commit 02015ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ import * as Path from 'path'

Nexus.makeSchema({
contextType: {
module: Path.join(__dirname, './path/to/contextModule'),
module: Path.join(__dirname, './path/to/contextModule.ts'),
alias: 'ContextModule',
export: 'Context'
},
Expand Down

0 comments on commit 02015ed

Please sign in to comment.