UNPKG

@graphql-codegen/flow

Version:
10 lines (9 loc) 606 B
import { TypeNode } from 'graphql'; import { OperationVariablesToObject } from '@graphql-codegen/visitor-plugin-common'; export declare class FlowOperationVariablesToObject extends OperationVariablesToObject { private clearOptional; protected getScalar(name: string): string; wrapAstTypeWithModifiers(baseType: string, typeNode: TypeNode, applyCoercion?: boolean): string; protected formatFieldString(fieldName: string, isNonNullType: boolean, hasDefaultValue: boolean): string; protected formatTypeString(fieldType: string, isNonNullType: boolean, hasDefaultValue: boolean): string; }