@vinejs/vine - v4.0.0-next.1
    Preparing search index...

    Type Alias GetArgs<T>

    GetArgs: undefined extends T ? [options?: T] : [options: T]

    Utility type that determines the argument signature for a validation rule factory. Makes options optional when the type can be undefined, required otherwise.

    Type Parameters

    • T

      The options type for the validation rule