Skip to content

Ref

Ref<N, V> = object

Defined in: packages/schema/src/refs.ts:9

A field picked in a builder’s callback, such as r.status: its name, typed with its value.

N extends string = string

V = unknown

readonly optional $value?: V

Defined in: packages/schema/src/refs.ts:13

The field’s value type, for the compiler only; never set.


readonly name: N

Defined in: packages/schema/src/refs.ts:11

The field’s name.