From 3812b34f7467e30624c7993a64366d2cb0821ac9 Mon Sep 17 00:00:00 2001 From: Kaname <56084970+kaname-png@users.noreply.github.com> Date: Fri, 8 Oct 2021 15:09:30 -0600 Subject: [PATCH] fix(templates): typescript types --- templates/components/argument.ts.sapphire | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/components/argument.ts.sapphire b/templates/components/argument.ts.sapphire index ec74284..4ff5a9d 100644 --- a/templates/components/argument.ts.sapphire +++ b/templates/components/argument.ts.sapphire @@ -9,3 +9,9 @@ export class UserArgument extends Argument { return this.ok(parameter); } } + +declare module '@sapphire/framework' { + interface ArgType { + {{name}}: string; + } +}