File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import type { Resolvers , ResolversTypes } from '#graphql/server'
2- import type { ApolloServerOptions , BaseContext } from '@apollo/server'
2+ import type { ApolloServerOptions } from '@apollo/server'
33import type { YogaServerOptions } from 'graphql-yoga'
4+ import type { H3Event } from 'h3'
45
56import type { GraphQLFramework , StandardSchemaV1 } from 'nitro-graphql'
67
@@ -60,9 +61,9 @@ export function defineType(
6061}
6162
6263export type DefineServerConfig = GraphQLFramework extends 'graphql-yoga'
63- ? Partial < YogaServerOptions < any , any > >
64+ ? Partial < YogaServerOptions < H3Event , H3Event > >
6465 : GraphQLFramework extends 'apollo-server'
65- ? Partial < ApolloServerOptions < BaseContext > >
66+ ? Partial < ApolloServerOptions < H3Event > >
6667 : Record < string , any >
6768
6869export function defineGraphQLConfig (
You can’t perform that action at this time.
0 commit comments