UNPKG

@eddeee888/gcg-typescript-resolver-files

Version:

This [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugin creates resolvers given GraphQL schema.

7 lines (6 loc) 313 B
import type { SourceFile, VariableStatement } from 'ts-morph'; import type { ResolverFile } from './types'; export declare const getVariableStatementWithExpectedIdentifier: (sourceFile: SourceFile, resolverFile: ResolverFile) => { variableStatement: VariableStatement | undefined; isExported: boolean; };