@servicenow/sdk - v4.4.1
    Preparing search index...
    InferFlowObject: {
        [K in keyof T["fields"] as K extends string ? K : never]: T["fields"][K] extends FlowObjectType
            ? InferFlowObject<T["fields"][K]>
            : T["fields"][K] extends FlowArrayType
                ? InferFlowArray<T["fields"][K]>
                : ExtractRefTable<T["fields"][K]> extends never
                    ? T["fields"][K] extends Typed<infer R> ? R : unknown
                    : TableAwareRecordWithFallback<ExtractRefTable<T["fields"][K]>>
    }

    Infers the corresponding TypeScript/JavaScript object type from a FlowObjectType. This utility recursively unwraps nested FlowObjectTypes and resolves Typed<R> (e.g., database columns) to their underlying type R. For ReferenceColumns, applies dotwalk support with TableAwareRecordWithFallback.

    Type Parameters

    • T extends FlowObjectType

      The FlowObjectType from which to infer the TypeScript type. It must extend FlowObjectType.