Skip to main content

ObjectFromSchemaRecordUnsafe TypeAlias

Unenforced version of ObjectFromSchemaRecord.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

type ObjectFromSchemaRecordUnsafe<T extends RestrictiveStringRecord<ImplicitFieldSchemaUnsafe>> = {
-readonly [Property in keyof T]: Property extends string ? TreeFieldFromImplicitFieldUnsafe<T[Property]> : unknown;
};

Type Parameters

ParameterConstraintDescription
TRestrictiveStringRecord<ImplicitFieldSchemaUnsafe>

Remarks

Do not use this type directly: it's only needed in the implementation of generic logic which define recursive schema, not when using recursive schema.