• Preparing search index...
  • The search index is not available
Roqueform
  • Roqueform
  • zod-plugin
  • zodPlugin

Function zodPlugin

  • zodPlugin<Value>(type): PluginInjector<ZodPlugin, Value>
  • Enhances fields with validation methods powered by Zod.

    Type Parameters

    • Value

      The root field value.

    Parameters

    • type: ZodType<any, any, Value>

      The type that validates the field value.

    Returns PluginInjector<ZodPlugin, Value>

    The validation plugin.

Settings

Member Visibility
Roqueform
  • Loading...