Infers the TypeScript return type of a field resolver definition's .call() method. Use this to type the resolved field value.
.call()
import type { FieldResponseType } from "naystack/graphql";import type organizationsField from "./resolvers/organizations-field";type Orgs = FieldResponseType<typeof organizationsField>; Copy
import type { FieldResponseType } from "naystack/graphql";import type organizationsField from "./resolvers/organizations-field";type Orgs = FieldResponseType<typeof organizationsField>;
Infers the TypeScript return type of a field resolver definition's
.call()method. Use this to type the resolved field value.