InferDef
InferDef<
T> = [type.infer<T>] extends [never] ?unknown:type.infer<T>
Defined in: src/schema/index.ts:634
Infer the TypeScript type of an arktype string def, falling back to unknown for defs arktype cannot statically resolve (e.g. custom scope aliases, which are validated at runtime instead).
Type Parameters
Section titled “Type Parameters”T extends string