diff options
Diffstat (limited to 'src/arguments/contentWithDuration.ts')
-rw-r--r-- | src/arguments/contentWithDuration.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arguments/contentWithDuration.ts b/src/arguments/contentWithDuration.ts index 38b3fa4..27ff1db 100644 --- a/src/arguments/contentWithDuration.ts +++ b/src/arguments/contentWithDuration.ts @@ -3,6 +3,6 @@ import { BushArgumentTypeCaster } from '@lib'; export const contentWithDurationTypeCaster: BushArgumentTypeCaster = async ( _, phrase -): Promise<{ duration: number; contentWithoutTime: string | null }> => { +): Promise<{ duration: number | null; contentWithoutTime: string | null }> => { return client.util.parseDuration(phrase); }; |