interface Duration {
    text: string;
    value: number;
}

Properties

Properties

text: string

contains a human-readable representation of the duration.

value: number

indicates the duration in seconds.