Skip to content

Missing TimeConfig types #1203

@cdr0y

Description

@cdr0y

Describe the bug
TimeConfig interface seems to be missing hoursIncrement, minutesIncrement and secondsIncrement from globals type file. Also in the docs they're are present in the default object example, but not in the interface there.

export declare interface TimeConfig {
    enableTimePicker: boolean;
    ignoreTimeValidation: boolean;
    enableSeconds: boolean;
    enableMinutes: boolean;
    is24: boolean;
    noHoursOverlay: boolean;
    noMinutesOverlay: boolean;
    noSecondsOverlay: boolean;
    hoursGridIncrement: number | string;
    minutesGridIncrement: number | string;
    secondsGridIncrement: number | string;
    timePickerInline: boolean;
    startTime: TimeModel | TimeModel[];
}

To Reproduce
https://vue3datepicker.com/props/time-picker-configuration/ - link to docs
globals.d.ts file is missing types

Desktop & mobile (please complete the following information):

  • V 12.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions