Skip to content

InferRecord

InferRecord<R> = RecordOf<R["$fields"]>

Defined in: packages/schema/src/resource-types.ts:38

The record type of a resource, from the builder resource(...) returns: InferRecord<typeof orders>.

R extends object

The resource builder, whose $fields carries its fields.