Fix typos

This commit is contained in:
Dimitris Apostolou 2023-01-01 13:41:40 +02:00 committed by Jamie Kyle
parent 3705b959d6
commit 3c80272673
21 changed files with 24 additions and 24 deletions

View file

@ -66,7 +66,7 @@ export function format(
seconds % SECONDS_PER_WEEK === 0 ? ['w'] : ['d', 'h', 'm', 's'];
return humanizeDuration(seconds * SECOND, {
// if we have an explict `largest` specified,
// if we have an explicit `largest` specified,
// allow it to pick from all the units
units: largest ? allUnits : defaultUnits,
largest,