UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

5 lines (4 loc) 267 B
import { GraphQLEnumType, GraphQLScalarType } from 'graphql'; import { RenderContext } from '../common/RenderContext'; import type { Type } from './types'; export declare function scalarType(type: GraphQLScalarType | GraphQLEnumType, _: RenderContext): Type<string>;