Skip to content

Commit 9508e02

Browse files
emmatowndcousens
authored andcommitted
Fix schema-api-with-context exports (#9602)
1 parent b59946f commit 9508e02

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changeset/fix-context.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@keystone-6/core": patch
3+
---
4+
5+
Fix incompatible `Context` type export
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { type GraphQLSchemaAPIWithContext } from '@graphql-ts/schema'
2-
import { type Context } from './graphql-ts-schema'
32

4-
declare const __graphql: GraphQLSchemaAPIWithContext<Context>
3+
declare const __graphql: GraphQLSchemaAPIWithContext<any>
54

65
export = __graphql

0 commit comments

Comments
 (0)