deno.land / x / pothos@release-1713397530 / packages / core / refs / union.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
// @ts-nocheckimport { OutputRef, outputShapeKey, parentShapeKey } from '../types/type-params.ts';import BaseTypeRef from './base.ts';export default class UnionRef<T, P = T> extends BaseTypeRef implements OutputRef, PothosSchemaTypes.UnionRef<T, P> { override kind = "Union" as const; $inferType!: T; [outputShapeKey]!: T; [parentShapeKey]!: P; constructor(name: string) { super("Union", name); }}
pothos

Version Info

Tagged at
a year ago