chore(docs): readme update -- fix code sample to include ".ts" in module path (#998)
This commit is contained in:
parent
2934d6d38c
commit
02015ede84
|
|
@ -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'
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue