augment-vir - v32.2.2
    Preparing search index...

    Type Alias ApplyDefaultOptions<Options, Defaults, SpecifiedOptions>

    ApplyDefaultOptions: If<
        IsAny<SpecifiedOptions>,
        Defaults,
        If<
            IsNever<SpecifiedOptions>,
            Defaults,
            Simplify<
                Merge<
                    Defaults,
                    {
                        [Key in keyof SpecifiedOptions as Key extends OptionalKeysOf<
                            Options,
                        >
                            ? undefined extends SpecifiedOptions[Key] ? never : Key
                            : Key]: SpecifiedOptions[Key]
                    },
                > & Required<Options>,
            >,
        >,
    >

    Fill in the unspecified properties of an options object with their defaults.

    Copied from the ApplyDefaultOptions type in the type-fest package so that this package's public types do not depend on type-fest (see the note in type-checks.ts).

    Type Parameters