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

Function: createStub()

Call Signature

createStub(node, type): GraphQLOutputType

Defined in: packages/utils/src/stub.ts:46

Parameters

node

TypeNode

type

"output"

Returns

GraphQLOutputType

Call Signature

createStub(node, type): GraphQLInputType

Defined in: packages/utils/src/stub.ts:47

Parameters

node

TypeNode

type

"input"

Returns

GraphQLInputType

Call Signature

createStub(node, type): GraphQLType

Defined in: packages/utils/src/stub.ts:48

Parameters

node

TypeNode

type

"input" | "output"

Returns

GraphQLType