import { InputRef, inputShapeKey, OutputRef, outputShapeKey } from '../types'; import BaseTypeRef from './base'; export default class EnumRef extends BaseTypeRef implements OutputRef, InputRef, GiraphQLSchemaTypes.EnumRef { override kind = 'Enum' as const; [outputShapeKey]: T; [inputShapeKey]: U; constructor(name: string) { super('Enum', name); } }