Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsastFromInterfaceType

Function: astFromInterfaceType()

astFromInterfaceType(type, schema, pathToDirectivesInExtensions?): InterfaceTypeDefinitionNode

Defined in: packages/utils/src/print-schema-with-directives.ts:326

Parameters

type

GraphQLInterfaceType

schema

GraphQLSchema

pathToDirectivesInExtensions?

string[]

Returns

InterfaceTypeDefinitionNode