diff options
Diffstat (limited to 'src/arguments/durationSeconds.ts')
-rw-r--r-- | src/arguments/durationSeconds.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/arguments/durationSeconds.ts b/src/arguments/durationSeconds.ts deleted file mode 100644 index d8d6749..0000000 --- a/src/arguments/durationSeconds.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { parseDuration, type BushArgumentTypeCaster } from '#lib'; - -export const durationSeconds: BushArgumentTypeCaster<number | null> = (_, phrase) => { - phrase += 's'; - return parseDuration(phrase).duration; -}; |