import { OutputRef, outputShapeKey, parentShapeKey } from '../types'; import BaseTypeRef from './base'; export default class UnionRef extends BaseTypeRef implements OutputRef, GiraphQLSchemaTypes.UnionRef { override kind = 'Union' as const; [outputShapeKey]: T; [parentShapeKey]: P; constructor(name: string) { super('Union', name); } }