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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @ts-nocheckimport { outputShapeKey, parentShapeKey } from '../types/index.ts';import BaseTypeRef from './base.ts';export default class OutputTypeRef<T, P = T> extends BaseTypeRef { override kind; $inferType!: T; [outputShapeKey]!: T; [parentShapeKey]!: P; constructor(kind: "Enum" | "Interface" | "Object" | "Scalar" | "Union", name: string) { super(kind, name); this.kind = kind; }}
pothos

Version Info

Tagged at
a year ago