Skip to content

Commit d3e7925

Browse files
committed
chore(website): fix tutorial TSGIDM tip
1 parent 790f782 commit d3e7925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/01-getting-started/03-tutorial/04-chapter-3-adding-mutations-to-your-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ schema.addToContext(() => {
5151
That's it. Behind the scenes Nexus will use the TypeScript compiler API to extract our return type here and propagate it to the parts of our app where the context is accessible. And if ever this process does not work for you for some reason you can use fallback to manually giving the types to Nexus like so:
5252

5353
```ts
54-
module global {
54+
declare global {
5555
interface NexusContext {
5656
// type information here
5757
}

0 commit comments

Comments
 (0)