Type alias SGInterfaceContext
SGInterfaceContext: {
interface: ((name: string) => GraphQLInterfaceType);
registerInterface: ((name: string, interfaceType: GraphQLInterfaceType) => void);
}
Type declaration
-
interface: ((name: string) => GraphQLInterfaceType)
-
- (name: string): GraphQLInterfaceType
-
Returns GraphQLInterfaceType
-
registerInterface: ((name: string, interfaceType: GraphQLInterfaceType) => void)
-
- (name: string, interfaceType: GraphQLInterfaceType): void
-
Parameters
-
name: string
-
interfaceType: GraphQLInterfaceType
Returns void