diff options
Diffstat (limited to 'src/arguments/duration.ts')
-rw-r--r-- | src/arguments/duration.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arguments/duration.ts b/src/arguments/duration.ts index 6e76034..9f3cf99 100644 --- a/src/arguments/duration.ts +++ b/src/arguments/duration.ts @@ -1,5 +1,5 @@ import { BushArgumentTypeCaster } from '@lib'; -export const durationTypeCaster: BushArgumentTypeCaster = (_, phrase): number => { +export const durationTypeCaster: BushArgumentTypeCaster = (_, phrase): number | null => { return client.util.parseDuration(phrase).duration; }; |