@graphql-codegen/typescript-operations
Version:
GraphQL Code Generator plugin for generating TypeScript types for GraphQL queries, mutations, subscriptions and fragments
15 lines (14 loc) • 598 B
TypeScript
import { TypeScriptOperationVariablesToObject as TSOperationVariablesToObject } from '@graphql-codegen/typescript';
export declare const SCALARS: {
ID: string;
String: string;
Int: string;
Float: string;
Boolean: string;
};
export declare class TypeScriptOperationVariablesToObject extends TSOperationVariablesToObject {
protected formatTypeString(fieldType: string, _isNonNullType: boolean, _hasDefaultValue: boolean): string;
protected clearOptional(str: string): string;
protected wrapMaybe(type: string): string;
protected getScalar(name: string): string;
}