From 02015ede8434aca481f606f0f5564bdf31710777 Mon Sep 17 00:00:00 2001 From: Ella Nan <38847123+ellanan@users.noreply.github.com> Date: Tue, 26 Oct 2021 21:47:51 -0400 Subject: [PATCH] chore(docs): readme update -- fix code sample to include ".ts" in module path (#998) --- docs/content/040-adoption-guides/020-nexus-framework-users.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/040-adoption-guides/020-nexus-framework-users.mdx b/docs/content/040-adoption-guides/020-nexus-framework-users.mdx index f3f46201..fc8fdcb3 100644 --- a/docs/content/040-adoption-guides/020-nexus-framework-users.mdx +++ b/docs/content/040-adoption-guides/020-nexus-framework-users.mdx @@ -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' },