UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

9 lines (6 loc) 277 B
import { GraphQLEnumType, GraphQLScalarType } from 'graphql'; import { RenderContext } from '../common/RenderContext'; import type { Type } from './types'; export function scalarType(type: GraphQLScalarType | GraphQLEnumType, _: RenderContext): Type<string> { return {}; }