aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/contentWithDuration.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/arguments/contentWithDuration.ts')
-rw-r--r--src/arguments/contentWithDuration.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arguments/contentWithDuration.ts b/src/arguments/contentWithDuration.ts
index 41cb9bb..3d87061 100644
--- a/src/arguments/contentWithDuration.ts
+++ b/src/arguments/contentWithDuration.ts
@@ -1,5 +1,5 @@
import { ParsedDuration, type BushArgumentTypeCaster } from '#lib';
-export const contentWithDuration: BushArgumentTypeCaster = async (_, phrase): Promise<ParsedDuration> => {
+export const contentWithDuration: BushArgumentTypeCaster<Promise<ParsedDuration>> = async (_, phrase) => {
return client.util.parseDuration(phrase);
};