@backland/schema
Version:
TypeScript schema declaration and validation library with static type inference
10 lines (9 loc) • 341 B
TypeScript
import { GraphQLScalarType } from 'graphql';
import { PhoneValidationOptions } from '../fields/PhoneField';
export type GraphQLPhoneTypeOptions = PhoneValidationOptions & {
description?: string;
name?: string;
};
export declare class GraphQLPhoneType extends GraphQLScalarType {
constructor(options?: GraphQLPhoneTypeOptions);
}