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