Skip to content

Commit

Permalink
fix: incorrect custom command types
Browse files Browse the repository at this point in the history
  • Loading branch information
Joelant05 committed Sep 5, 2022
1 parent 829caad commit 29ce9a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/minecraftBedrock/types/customCommand/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ declare interface CommandContext<T> {
name: (name: string) => void
schema: (schema: any) => void
template: (
templateFunction: (commandArgs: T, opts: TemplateContext) => void,
templateContext: TemplateContext
templateFunction: (commandArgs: T, opts: TemplateContext) => void
) => void
}

Expand Down

0 comments on commit 29ce9a4

Please sign in to comment.