@gqlts/cli
Version:
Generate a client sdk from your GraphQl API
9 lines (8 loc) • 486 B
TypeScript
import { GraphQLArgument, GraphQLEnumValue, GraphQLField, GraphQLInputField, GraphQLNamedType } from 'graphql';
export declare function comment(comment: {
text?: string | null;
deprecated?: string | null;
}): string;
export declare function typeComment(type: GraphQLNamedType): string;
export declare function fieldComment(field: GraphQLEnumValue | GraphQLField<any, any, any>): string;
export declare function argumentComment(arg: GraphQLArgument | GraphQLInputField): string;