Skip to content

Commit

Permalink
fix(templates): typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
sawa-ko authored and enxg committed Oct 8, 2021
1 parent 1ca569b commit 3812b34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/components/argument.ts.sapphire
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ export class UserArgument extends Argument<string> {
return this.ok(parameter);
}
}

declare module '@sapphire/framework' {
interface ArgType {
{{name}}: string;
}
}

0 comments on commit 3812b34

Please sign in to comment.